Class DomainDnsRecord

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DomainDnsRecord
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
DomainDnsCnameRecord, DomainDnsMxRecord, DomainDnsSrvRecord, DomainDnsTxtRecord, DomainDnsUnavailableRecord

@Generated("com.microsoft.kiota") public class DomainDnsRecord extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • DomainDnsRecord

      public DomainDnsRecord()
      Instantiates a new DomainDnsRecord and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static DomainDnsRecord createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a DomainDnsRecord
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsOptional

      @Nullable public Boolean getIsOptional()
      Gets the isOptional property value. If false, the customer must configure this record at the DNS host for Microsoft Online Services to operate correctly with the domain.
      Returns:
      a Boolean
    • getLabel

      @Nullable public String getLabel()
      Gets the label property value. Value used when configuring the name of the DNS record at the DNS host.
      Returns:
      a String
    • getRecordType

      @Nullable public String getRecordType()
      Gets the recordType property value. Indicates what type of DNS record this entity represents. The value can be CName, Mx, Srv, or Txt.
      Returns:
      a String
    • getSupportedService

      @Nullable public String getSupportedService()
      Gets the supportedService property value. 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:
      a String
    • getTtl

      @Nullable public Integer getTtl()
      Gets the ttl property value. Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable.
      Returns:
      a Integer
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setIsOptional

      public void setIsOptional(@Nullable Boolean value)
      Sets the isOptional property value. If false, the customer must configure this record at the DNS host for Microsoft Online Services to operate correctly with the domain.
      Parameters:
      value - Value to set for the isOptional property.
    • setLabel

      public void setLabel(@Nullable String value)
      Sets the label property value. Value used when configuring the name of the DNS record at the DNS host.
      Parameters:
      value - Value to set for the label property.
    • setRecordType

      public void setRecordType(@Nullable String value)
      Sets the recordType property value. Indicates what type of DNS record this entity represents. The value can be CName, Mx, Srv, or Txt.
      Parameters:
      value - Value to set for the recordType property.
    • setSupportedService

      public void setSupportedService(@Nullable String value)
      Sets the supportedService property value. 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:
      value - Value to set for the supportedService property.
    • setTtl

      public void setTtl(@Nullable Integer value)
      Sets the ttl property value. Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable.
      Parameters:
      value - Value to set for the ttl property.