Class MicrosoftGraphDomainDnsRecord
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDomainDnsRecord
domainDnsRecord.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphDomainDnsRecord class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: domainDnsRecord.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.label()Get the label property: Value used when configuring the name of the DNS record at the DNS host.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.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.ttl()Get the ttl property: Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: domainDnsRecord.Set the id property: Read-only.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.Set the label property: Value used when configuring the name of the DNS record at the DNS host.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.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.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 class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphDomainDnsRecord
public MicrosoftGraphDomainDnsRecord()Creates an instance of MicrosoftGraphDomainDnsRecord class.
-
-
Method Details
-
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.
-
withIsOptional
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.
-
label
Get the label property: Value used when configuring the name of the DNS record at the DNS host.- Returns:
- the label value.
-
withLabel
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.
-
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.
-
withRecordType
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.
-
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.
-
withSupportedService
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.
-
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.
-
withTtl
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.
-
additionalProperties
Get the additionalProperties property: domainDnsRecord.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDomainDnsRecord withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: domainDnsRecord.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDomainDnsRecord object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-