DomainResourceInner Class

public final class DomainResourceInner
extends Resource

A class representing a Domains resource.

Constructor Summary

Constructor Description
DomainResourceInner()

Creates an instance of DomainResourceInner class.

Method Summary

Modifier and Type Method and Description
String dataLocation()

Get the dataLocation property: The location where the Domains resource data is stored at rest.

DomainManagement domainManagement()

Get the domainManagement property: Describes how a Domains resource is being managed.

static DomainResourceInner fromJson(JsonReader jsonReader)

Reads an instance of DomainResourceInner from the JsonReader.

String fromSenderDomain()

Get the fromSenderDomain property: P2 sender domain that is displayed to the email recipients [RFC 5322].

String id()

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

String mailFromSenderDomain()

Get the mailFromSenderDomain property: P1 sender domain that is present on the email envelope [RFC 5321].

String name()

Get the name property: The name of the resource.

DomainsProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

UserEngagementTracking userEngagementTracking()

Get the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.

void validate()

Validates the instance.

DomainPropertiesVerificationRecords verificationRecords()

Get the verificationRecords property: List of DnsRecord.

DomainPropertiesVerificationStates verificationStates()

Get the verificationStates property: List of VerificationStatusRecord.

DomainResourceInner withDomainManagement(DomainManagement domainManagement)

Set the domainManagement property: Describes how a Domains resource is being managed.

DomainResourceInner withLocation(String location)
DomainResourceInner withTags(Map<String,String> tags)
DomainResourceInner withUserEngagementTracking(UserEngagementTracking userEngagementTracking)

Set the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

DomainResourceInner

public DomainResourceInner()

Creates an instance of DomainResourceInner class.

Method Details

dataLocation

public String dataLocation()

Get the dataLocation property: The location where the Domains resource data is stored at rest.

Returns:

the dataLocation value.

domainManagement

public DomainManagement domainManagement()

Get the domainManagement property: Describes how a Domains resource is being managed.

Returns:

the domainManagement value.

fromJson

public static DomainResourceInner fromJson(JsonReader jsonReader)

Reads an instance of DomainResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DomainResourceInner 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.

fromSenderDomain

public String fromSenderDomain()

Get the fromSenderDomain property: P2 sender domain that is displayed to the email recipients [RFC 5322].

Returns:

the fromSenderDomain value.

id

public String id()

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

Overrides:

DomainResourceInner.id()

Returns:

the id value.

mailFromSenderDomain

public String mailFromSenderDomain()

Get the mailFromSenderDomain property: P1 sender domain that is present on the email envelope [RFC 5321].

Returns:

the mailFromSenderDomain value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DomainResourceInner.name()

Returns:

the name value.

provisioningState

public DomainsProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DomainResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DomainResourceInner.type()

Returns:

the type value.

userEngagementTracking

public UserEngagementTracking userEngagementTracking()

Get the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.

Returns:

the userEngagementTracking value.

validate

public void validate()

Validates the instance.

verificationRecords

public DomainPropertiesVerificationRecords verificationRecords()

Get the verificationRecords property: List of DnsRecord.

Returns:

the verificationRecords value.

verificationStates

public DomainPropertiesVerificationStates verificationStates()

Get the verificationStates property: List of VerificationStatusRecord.

Returns:

the verificationStates value.

withDomainManagement

public DomainResourceInner withDomainManagement(DomainManagement domainManagement)

Set the domainManagement property: Describes how a Domains resource is being managed.

Parameters:

domainManagement - the domainManagement value to set.

Returns:

the DomainResourceInner object itself.

withLocation

public DomainResourceInner withLocation(String location)

Overrides:

DomainResourceInner.withLocation(String location)

Parameters:

location

withTags

public DomainResourceInner withTags(Map<String,String> tags)

Overrides:

DomainResourceInner.withTags(Map<String,String> tags)

Parameters:

tags

withUserEngagementTracking

public DomainResourceInner withUserEngagementTracking(UserEngagementTracking userEngagementTracking)

Set the userEngagementTracking property: Describes whether user engagement tracking is enabled or disabled.

Parameters:

userEngagementTracking - the userEngagementTracking value to set.

Returns:

the DomainResourceInner object itself.

Applies to