你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphVerifiedDomain Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphVerifiedDomain

Implements

public final class MicrosoftGraphVerifiedDomain
implements JsonSerializable<MicrosoftGraphVerifiedDomain>

verifiedDomain.

Constructor Summary

Constructor Description
MicrosoftGraphVerifiedDomain()

Creates an instance of MicrosoftGraphVerifiedDomain class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: verifiedDomain.

String capabilities()

Get the capabilities property: For example, 'Email', 'OfficeCommunicationsOnline'.

static MicrosoftGraphVerifiedDomain fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphVerifiedDomain from the JsonReader.

Boolean isDefault()

Get the isDefault property: true if this is the default domain associated with the tenant; otherwise, false.

Boolean isInitial()

Get the isInitial property: true if this is the initial domain associated with the tenant; otherwise, false.

String name()

Get the name property: The domain name; for example, 'contoso.onmicrosoft.com'.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: For example, 'Managed'.

void validate()

Validates the instance.

MicrosoftGraphVerifiedDomain withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: verifiedDomain.

MicrosoftGraphVerifiedDomain withCapabilities(String capabilities)

Set the capabilities property: For example, 'Email', 'OfficeCommunicationsOnline'.

MicrosoftGraphVerifiedDomain withIsDefault(Boolean isDefault)

Set the isDefault property: true if this is the default domain associated with the tenant; otherwise, false.

MicrosoftGraphVerifiedDomain withIsInitial(Boolean isInitial)

Set the isInitial property: true if this is the initial domain associated with the tenant; otherwise, false.

MicrosoftGraphVerifiedDomain withName(String name)

Set the name property: The domain name; for example, 'contoso.onmicrosoft.com'.

MicrosoftGraphVerifiedDomain withType(String type)

Set the type property: For example, 'Managed'.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphVerifiedDomain

public MicrosoftGraphVerifiedDomain()

Creates an instance of MicrosoftGraphVerifiedDomain class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: verifiedDomain.

Returns:

the additionalProperties value.

capabilities

public String capabilities()

Get the capabilities property: For example, 'Email', 'OfficeCommunicationsOnline'.

Returns:

the capabilities value.

fromJson

public static MicrosoftGraphVerifiedDomain fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphVerifiedDomain from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphVerifiedDomain.

isDefault

public Boolean isDefault()

Get the isDefault property: true if this is the default domain associated with the tenant; otherwise, false.

Returns:

the isDefault value.

isInitial

public Boolean isInitial()

Get the isInitial property: true if this is the initial domain associated with the tenant; otherwise, false.

Returns:

the isInitial value.

name

public String name()

Get the name property: The domain name; for example, 'contoso.onmicrosoft.com'.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: For example, 'Managed'.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphVerifiedDomain withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: verifiedDomain.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphVerifiedDomain object itself.

withCapabilities

public MicrosoftGraphVerifiedDomain withCapabilities(String capabilities)

Set the capabilities property: For example, 'Email', 'OfficeCommunicationsOnline'.

Parameters:

capabilities - the capabilities value to set.

Returns:

the MicrosoftGraphVerifiedDomain object itself.

withIsDefault

public MicrosoftGraphVerifiedDomain withIsDefault(Boolean isDefault)

Set the isDefault property: true if this is the default domain associated with the tenant; otherwise, false.

Parameters:

isDefault - the isDefault value to set.

Returns:

the MicrosoftGraphVerifiedDomain object itself.

withIsInitial

public MicrosoftGraphVerifiedDomain withIsInitial(Boolean isInitial)

Set the isInitial property: true if this is the initial domain associated with the tenant; otherwise, false.

Parameters:

isInitial - the isInitial value to set.

Returns:

the MicrosoftGraphVerifiedDomain object itself.

withName

public MicrosoftGraphVerifiedDomain withName(String name)

Set the name property: The domain name; for example, 'contoso.onmicrosoft.com'.

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphVerifiedDomain object itself.

withType

public MicrosoftGraphVerifiedDomain withType(String type)

Set the type property: For example, 'Managed'.

Parameters:

type - the type value to set.

Returns:

the MicrosoftGraphVerifiedDomain object itself.

Applies to