MicrosoftGraphDomainDnsRecord Class

public final class MicrosoftGraphDomainDnsRecord
extends MicrosoftGraphEntity

domainDnsRecord.

Constructor Summary

Constructor Description
MicrosoftGraphDomainDnsRecord()

Creates an instance of MicrosoftGraphDomainDnsRecord class.

Method Summary

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

Get the additionalProperties property: domainDnsRecord.

Boolean isOptional()

Get the isOptional property: If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain.

String label()

Get the label property: Value used when configuring the name of the DNS record at the DNS host.

String recordType()

Get the recordType property: Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, TxtKey.

String supportedService()

Get the supportedService property: Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune.

Integer ttl()

Get the ttl property: Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host.

void validate()

Validates the instance.

MicrosoftGraphDomainDnsRecord withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: domainDnsRecord.

MicrosoftGraphDomainDnsRecord withId(String id)

Set the id property: Read-only.

MicrosoftGraphDomainDnsRecord withIsOptional(Boolean isOptional)

Set the isOptional property: If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain.

MicrosoftGraphDomainDnsRecord withLabel(String label)

Set the label property: Value used when configuring the name of the DNS record at the DNS host.

MicrosoftGraphDomainDnsRecord withRecordType(String recordType)

Set the recordType property: Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, TxtKey.

MicrosoftGraphDomainDnsRecord withSupportedService(String supportedService)

Set the supportedService property: Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune.

MicrosoftGraphDomainDnsRecord withTtl(Integer ttl)

Set the ttl property: Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphDomainDnsRecord

public MicrosoftGraphDomainDnsRecord()

Creates an instance of MicrosoftGraphDomainDnsRecord class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: domainDnsRecord.

Overrides:

MicrosoftGraphDomainDnsRecord.additionalProperties()

Returns:

the additionalProperties value.

isOptional

public Boolean isOptional()

Get the isOptional property: If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain.

Returns:

the isOptional value.

label

public String label()

Get the label property: Value used when configuring the name of the DNS record at the DNS host.

Returns:

the label value.

recordType

public String recordType()

Get the recordType property: Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, TxtKey.

Returns:

the recordType value.

supportedService

public String supportedService()

Get the supportedService property: Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune.

Returns:

the supportedService value.

ttl

public Integer ttl()

Get the ttl property: Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable.

Returns:

the ttl value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphDomainDnsRecord.validate()

withAdditionalProperties

public MicrosoftGraphDomainDnsRecord withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: domainDnsRecord.

Overrides:

MicrosoftGraphDomainDnsRecord.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphDomainDnsRecord object itself.

withId

public MicrosoftGraphDomainDnsRecord withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphDomainDnsRecord.withId(String id)

Parameters:

id

withIsOptional

public MicrosoftGraphDomainDnsRecord withIsOptional(Boolean isOptional)

Set the isOptional property: If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain.

Parameters:

isOptional - the isOptional value to set.

Returns:

the MicrosoftGraphDomainDnsRecord object itself.

withLabel

public MicrosoftGraphDomainDnsRecord withLabel(String label)

Set the label property: Value used when configuring the name of the DNS record at the DNS host.

Parameters:

label - the label value to set.

Returns:

the MicrosoftGraphDomainDnsRecord object itself.

withRecordType

public MicrosoftGraphDomainDnsRecord withRecordType(String recordType)

Set the recordType property: Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, TxtKey.

Parameters:

recordType - the recordType value to set.

Returns:

the MicrosoftGraphDomainDnsRecord object itself.

withSupportedService

public MicrosoftGraphDomainDnsRecord withSupportedService(String supportedService)

Set the supportedService property: Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune.

Parameters:

supportedService - the supportedService value to set.

Returns:

the MicrosoftGraphDomainDnsRecord object itself.

withTtl

public MicrosoftGraphDomainDnsRecord withTtl(Integer ttl)

Set the ttl property: Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable.

Parameters:

ttl - the ttl value to set.

Returns:

the MicrosoftGraphDomainDnsRecord object itself.

Applies to