ServerUpdate Class
- java.
lang. Object - com.
microsoft. azure. management. sql. ServerUpdate
- com.
public class ServerUpdate
An update request for an Azure SQL Database server.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
administratorLogin()
Get administrator username for the server. Once created it cannot be changed. |
String |
administratorLoginPassword()
Get the administrator login password (required for server creation). |
String |
fullyQualifiedDomainName()
Get the fully qualified domain name of the server. |
String |
state()
Get the state of the server. |
Map<String, String> |
tags()
Get resource tags. |
String |
version()
Get the version of the server. |
Server |
withAdministratorLogin(String administratorLogin)
Set administrator username for the server. Once created it cannot be changed. |
Server |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administrator login password (required for server creation). |
Server |
withTags(Map<String, String> tags)
Set resource tags. |
Server |
withVersion(String version)
Set the version of the server. |
Method Details
administratorLogin
public String administratorLogin()
Get administrator username for the server. Once created it cannot be changed.
Returns:
administratorLoginPassword
public String administratorLoginPassword()
Get the administrator login password (required for server creation).
Returns:
fullyQualifiedDomainName
public String fullyQualifiedDomainName()
Get the fully qualified domain name of the server.
Returns:
state
public String state()
Get the state of the server.
Returns:
tags
public Map
Get resource tags.
Returns:
version
public String version()
Get the version of the server.
Returns:
withAdministratorLogin
public ServerUpdate withAdministratorLogin(String administratorLogin)
Set administrator username for the server. Once created it cannot be changed.
Parameters:
Returns:
withAdministratorLoginPassword
public ServerUpdate withAdministratorLoginPassword(String administratorLoginPassword)
Set the administrator login password (required for server creation).
Parameters:
Returns:
withTags
public ServerUpdate withTags(Map
Set resource tags.
Parameters:
Returns:
withVersion
public ServerUpdate withVersion(String version)
Set the version of the server.
Parameters:
Returns:
Applies to
Azure SDK for Java