ServerUpdate Class

  • java.lang.Object
    • com.microsoft.azure.management.sql.ServerUpdate

public class ServerUpdate

An update request for an Azure SQL Database server.

Constructor Summary

Constructor Description
ServerUpdate()

Method Summary

Modifier and Type Method and Description
java.lang.String administratorLogin()

Get administrator username for the server.

java.lang.String administratorLoginPassword()

Get the administrator login password (required for server creation).

java.lang.String fullyQualifiedDomainName()

Get the fully qualified domain name of the server.

java.lang.String state()

Get the state of the server.

java.util.Map<java.lang.String,java.lang.String> tags()

Get resource tags.

java.lang.String version()

Get the version of the server.

ServerUpdate withAdministratorLogin(String administratorLogin)

Set administrator username for the server.

ServerUpdate withAdministratorLoginPassword(String administratorLoginPassword)

Set the administrator login password (required for server creation).

ServerUpdate withTags(Map<String,String> tags)

Set resource tags.

ServerUpdate withVersion(String version)

Set the version of the server.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ServerUpdate

public ServerUpdate()

Method Details

administratorLogin

public String administratorLogin()

Get administrator username for the server. Once created it cannot be changed.

Returns:

the administratorLogin value

administratorLoginPassword

public String administratorLoginPassword()

Get the administrator login password (required for server creation).

Returns:

the administratorLoginPassword value

fullyQualifiedDomainName

public String fullyQualifiedDomainName()

Get the fully qualified domain name of the server.

Returns:

the fullyQualifiedDomainName value

state

public String state()

Get the state of the server.

Returns:

the state value

tags

public Map tags()

Get resource tags.

Returns:

the tags value

version

public String version()

Get the version of the server.

Returns:

the version value

withAdministratorLogin

public ServerUpdate withAdministratorLogin(String administratorLogin)

Set administrator username for the server. Once created it cannot be changed.

Parameters:

administratorLogin - the administratorLogin value to set

Returns:

the ServerUpdate object itself.

withAdministratorLoginPassword

public ServerUpdate withAdministratorLoginPassword(String administratorLoginPassword)

Set the administrator login password (required for server creation).

Parameters:

administratorLoginPassword - the administratorLoginPassword value to set

Returns:

the ServerUpdate object itself.

withTags

public ServerUpdate withTags(Map tags)

Set resource tags.

Parameters:

tags - the tags value to set

Returns:

the ServerUpdate object itself.

withVersion

public ServerUpdate withVersion(String version)

Set the version of the server.

Parameters:

version - the version value to set

Returns:

the ServerUpdate object itself.

Applies to