WorkspaceAadAdminInfoInner Class

public final class WorkspaceAadAdminInfoInner
extends ProxyResource

Workspace active directory administrator.

Constructor Summary

Constructor Description
WorkspaceAadAdminInfoInner()

Creates an instance of WorkspaceAadAdminInfoInner class.

Method Summary

Modifier and Type Method and Description
String administratorType()

Get the administratorType property: Workspace active directory administrator type.

static WorkspaceAadAdminInfoInner fromJson(JsonReader jsonReader)

Reads an instance of WorkspaceAadAdminInfoInner from the JsonReader.

String id()

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

String login()

Get the login property: Login of the workspace active directory administrator.

String name()

Get the name property: The name of the resource.

String sid()

Get the sid property: Object ID of the workspace active directory administrator.

String tenantId()

Get the tenantId property: Tenant ID of the workspace active directory administrator.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

WorkspaceAadAdminInfoInner withAdministratorType(String administratorType)

Set the administratorType property: Workspace active directory administrator type.

WorkspaceAadAdminInfoInner withLogin(String login)

Set the login property: Login of the workspace active directory administrator.

WorkspaceAadAdminInfoInner withSid(String sid)

Set the sid property: Object ID of the workspace active directory administrator.

WorkspaceAadAdminInfoInner withTenantId(String tenantId)

Set the tenantId property: Tenant ID of the workspace active directory administrator.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

WorkspaceAadAdminInfoInner

public WorkspaceAadAdminInfoInner()

Creates an instance of WorkspaceAadAdminInfoInner class.

Method Details

administratorType

public String administratorType()

Get the administratorType property: Workspace active directory administrator type.

Returns:

the administratorType value.

fromJson

public static WorkspaceAadAdminInfoInner fromJson(JsonReader jsonReader)

Reads an instance of WorkspaceAadAdminInfoInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WorkspaceAadAdminInfoInner 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:

WorkspaceAadAdminInfoInner.id()

Returns:

the id value.

login

public String login()

Get the login property: Login of the workspace active directory administrator.

Returns:

the login value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

WorkspaceAadAdminInfoInner.name()

Returns:

the name value.

sid

public String sid()

Get the sid property: Object ID of the workspace active directory administrator.

Returns:

the sid value.

tenantId

public String tenantId()

Get the tenantId property: Tenant ID of the workspace active directory administrator.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WorkspaceAadAdminInfoInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

WorkspaceAadAdminInfoInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdministratorType

public WorkspaceAadAdminInfoInner withAdministratorType(String administratorType)

Set the administratorType property: Workspace active directory administrator type.

Parameters:

administratorType - the administratorType value to set.

Returns:

the WorkspaceAadAdminInfoInner object itself.

withLogin

public WorkspaceAadAdminInfoInner withLogin(String login)

Set the login property: Login of the workspace active directory administrator.

Parameters:

login - the login value to set.

Returns:

the WorkspaceAadAdminInfoInner object itself.

withSid

public WorkspaceAadAdminInfoInner withSid(String sid)

Set the sid property: Object ID of the workspace active directory administrator.

Parameters:

sid - the sid value to set.

Returns:

the WorkspaceAadAdminInfoInner object itself.

withTenantId

public WorkspaceAadAdminInfoInner withTenantId(String tenantId)

Set the tenantId property: Tenant ID of the workspace active directory administrator.

Parameters:

tenantId - the tenantId value to set.

Returns:

the WorkspaceAadAdminInfoInner object itself.

Applies to