ServerAdministratorProperties Class
- java.
lang. Object - com.
azure. resourcemanager. postgresql. fluent. models. ServerAdministratorProperties
- com.
Implements
public final class ServerAdministratorProperties
implements JsonSerializable<ServerAdministratorProperties>
The properties of an server Administrator.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerAdministratorProperties() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Administrator |
administratorType()
Get the administrator |
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
| String |
login()
Get the login property: The server administrator login account name. |
| UUID |
sid()
Get the sid property: The server administrator Sid (Secure ID). |
| UUID |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Server |
withAdministratorType(AdministratorType administratorType)
Set the administrator |
|
Server |
withLogin(String login)
Set the login property: The server administrator login account name. |
|
Server |
withSid(UUID sid)
Set the sid property: The server administrator Sid (Secure ID). |
|
Server |
withTenantId(UUID tenantId)
Set the tenant |
Methods inherited from java.lang.Object
Constructor Details
ServerAdministratorProperties
public ServerAdministratorProperties()
Creates an instance of ServerAdministratorProperties class.
Method Details
administratorType
public AdministratorType administratorType()
Get the administratorType property: The type of administrator.
Returns:
fromJson
public static ServerAdministratorProperties fromJson(JsonReader jsonReader)
Reads an instance of ServerAdministratorProperties from the JsonReader.
Parameters:
Returns:
Throws:
login
public String login()
Get the login property: The server administrator login account name.
Returns:
sid
public UUID sid()
Get the sid property: The server administrator Sid (Secure ID).
Returns:
tenantId
public UUID tenantId()
Get the tenantId property: The server Active Directory Administrator tenant id.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdministratorType
public ServerAdministratorProperties withAdministratorType(AdministratorType administratorType)
Set the administratorType property: The type of administrator.
Parameters:
Returns:
withLogin
public ServerAdministratorProperties withLogin(String login)
Set the login property: The server administrator login account name.
Parameters:
Returns:
withSid
public ServerAdministratorProperties withSid(UUID sid)
Set the sid property: The server administrator Sid (Secure ID).
Parameters:
Returns:
withTenantId
public ServerAdministratorProperties withTenantId(UUID tenantId)
Set the tenantId property: The server Active Directory Administrator tenant id.
Parameters:
Returns: