ServerNameItem Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmosdbforpostgresql.models.ServerNameItem

public final class ServerNameItem

The name object for a server.

Constructor Summary

Constructor Description
ServerNameItem()

Creates an instance of ServerNameItem class.

Method Summary

Modifier and Type Method and Description
String fullyQualifiedDomainName()

Get the fullyQualifiedDomainName property: The fully qualified domain name of a server.

String name()

Get the name property: The name of a server.

void validate()

Validates the instance.

ServerNameItem withName(String name)

Set the name property: The name of a server.

Methods inherited from java.lang.Object

Constructor Details

ServerNameItem

public ServerNameItem()

Creates an instance of ServerNameItem class.

Method Details

fullyQualifiedDomainName

public String fullyQualifiedDomainName()

Get the fullyQualifiedDomainName property: The fully qualified domain name of a server.

Returns:

the fullyQualifiedDomainName value.

name

public String name()

Get the name property: The name of a server.

Returns:

the name value.

validate

public void validate()

Validates the instance.

withName

public ServerNameItem withName(String name)

Set the name property: The name of a server.

Parameters:

name - the name value to set.

Returns:

the ServerNameItem object itself.

Applies to