Class MicrosoftGraphDomainDnsRecord

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDomainDnsRecord

public final class MicrosoftGraphDomainDnsRecord extends MicrosoftGraphEntity
domainDnsRecord.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of MicrosoftGraphDomainDnsRecord class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get 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.
    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.
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MicrosoftGraphDomainDnsRecord

      public MicrosoftGraphDomainDnsRecord()
      Creates an instance of MicrosoftGraphDomainDnsRecord class.
  • Method Details

    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: domainDnsRecord.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphDomainDnsRecord withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: domainDnsRecord.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphDomainDnsRecord object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.