ServerAzureADAdministratorInner Class

public final class ServerAzureADAdministratorInner
extends ProxyResource

Azure Active Directory administrator.

Constructor Summary

Constructor Description
ServerAzureADAdministratorInner()

Creates an instance of ServerAzureADAdministratorInner class.

Method Summary

Modifier and Type Method and Description
AdministratorType administratorType()

Get the administratorType property: Type of the sever administrator.

Boolean azureADOnlyAuthentication()

Get the azureADOnlyAuthentication property: Azure Active Directory only Authentication enabled.

static ServerAzureADAdministratorInner fromJson(JsonReader jsonReader)

Reads an instance of ServerAzureADAdministratorInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String login()

Get the login property: Login name of the server administrator.

String name()

Get the name property: The name of the resource.

UUID sid()

Get the sid property: SID (object ID) of the server administrator.

UUID tenantId()

Get the tenantId property: Tenant ID of the administrator.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ServerAzureADAdministratorInner withAdministratorType(AdministratorType administratorType)

Set the administratorType property: Type of the sever administrator.

ServerAzureADAdministratorInner withLogin(String login)

Set the login property: Login name of the server administrator.

ServerAzureADAdministratorInner withSid(UUID sid)

Set the sid property: SID (object ID) of the server administrator.

ServerAzureADAdministratorInner withTenantId(UUID tenantId)

Set the tenantId property: Tenant ID of the administrator.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ServerAzureADAdministratorInner

public ServerAzureADAdministratorInner()

Creates an instance of ServerAzureADAdministratorInner class.

Method Details

administratorType

public AdministratorType administratorType()

Get the administratorType property: Type of the sever administrator.

Returns:

the administratorType value.

azureADOnlyAuthentication

public Boolean azureADOnlyAuthentication()

Get the azureADOnlyAuthentication property: Azure Active Directory only Authentication enabled.

Returns:

the azureADOnlyAuthentication value.

fromJson

public static ServerAzureADAdministratorInner fromJson(JsonReader jsonReader)

Reads an instance of ServerAzureADAdministratorInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServerAzureADAdministratorInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ServerAzureADAdministratorInner.id()

Returns:

the id value.

login

public String login()

Get the login property: Login name of the server administrator.

Returns:

the login value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ServerAzureADAdministratorInner.name()

Returns:

the name value.

sid

public UUID sid()

Get the sid property: SID (object ID) of the server administrator.

Returns:

the sid value.

tenantId

public UUID tenantId()

Get the tenantId property: Tenant ID of the administrator.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ServerAzureADAdministratorInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ServerAzureADAdministratorInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdministratorType

public ServerAzureADAdministratorInner withAdministratorType(AdministratorType administratorType)

Set the administratorType property: Type of the sever administrator.

Parameters:

administratorType - the administratorType value to set.

Returns:

the ServerAzureADAdministratorInner object itself.

withLogin

public ServerAzureADAdministratorInner withLogin(String login)

Set the login property: Login name of the server administrator.

Parameters:

login - the login value to set.

Returns:

the ServerAzureADAdministratorInner object itself.

withSid

public ServerAzureADAdministratorInner withSid(UUID sid)

Set the sid property: SID (object ID) of the server administrator.

Parameters:

sid - the sid value to set.

Returns:

the ServerAzureADAdministratorInner object itself.

withTenantId

public ServerAzureADAdministratorInner withTenantId(UUID tenantId)

Set the tenantId property: Tenant ID of the administrator.

Parameters:

tenantId - the tenantId value to set.

Returns:

the ServerAzureADAdministratorInner object itself.

Applies to