ServerAdministratorProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.mysql.fluent.models.ServerAdministratorProperties

public final class ServerAdministratorProperties

The properties of an server Administrator.

Constructor Summary

Constructor Description
ServerAdministratorProperties()

Method Summary

Modifier and Type Method and Description
AdministratorType administratorType()

Get the administratorType property: The type of administrator.

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 tenantId property: The server Active Directory Administrator tenant id.

void validate()

Validates the instance.

ServerAdministratorProperties withAdministratorType(AdministratorType administratorType)

Set the administratorType property: The type of administrator.

ServerAdministratorProperties withLogin(String login)

Set the login property: The server administrator login account name.

ServerAdministratorProperties withSid(UUID sid)

Set the sid property: The server administrator Sid (Secure ID).

ServerAdministratorProperties withTenantId(UUID tenantId)

Set the tenantId property: The server Active Directory Administrator tenant id.

Methods inherited from java.lang.Object

Constructor Details

ServerAdministratorProperties

public ServerAdministratorProperties()

Method Details

administratorType

public AdministratorType administratorType()

Get the administratorType property: The type of administrator.

Returns:

the administratorType value.

login

public String login()

Get the login property: The server administrator login account name.

Returns:

the login value.

sid

public UUID sid()

Get the sid property: The server administrator Sid (Secure ID).

Returns:

the sid value.

tenantId

public UUID tenantId()

Get the tenantId property: The server Active Directory Administrator tenant id.

Returns:

the tenantId value.

validate

public void validate()

Validates the instance.

withAdministratorType

public ServerAdministratorProperties withAdministratorType(AdministratorType administratorType)

Set the administratorType property: The type of administrator.

Parameters:

administratorType - the administratorType value to set.

Returns:

the ServerAdministratorProperties object itself.

withLogin

public ServerAdministratorProperties withLogin(String login)

Set the login property: The server administrator login account name.

Parameters:

login - the login value to set.

Returns:

the ServerAdministratorProperties object itself.

withSid

public ServerAdministratorProperties withSid(UUID sid)

Set the sid property: The server administrator Sid (Secure ID).

Parameters:

sid - the sid value to set.

Returns:

the ServerAdministratorProperties object itself.

withTenantId

public ServerAdministratorProperties withTenantId(UUID tenantId)

Set the tenantId property: The server Active Directory Administrator tenant id.

Parameters:

tenantId - the tenantId value to set.

Returns:

the ServerAdministratorProperties object itself.

Applies to

Azure SDK for Java

Latest