Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DomainDnsRecord
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the isOptional property value.getLabel()
Gets the label property value.Gets the recordType property value.Gets the supportedService property value.getTtl()
Gets the ttl property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setIsOptional
(Boolean value) Sets the isOptional property value.void
Sets the label property value.void
setRecordType
(String value) Sets the recordType property value.void
setSupportedService
(String value) Sets the supportedService property value.void
Sets the ttl property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DomainDnsRecord
public DomainDnsRecord()Instantiates a newDomainDnsRecord
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the label property value. Value used when configuring the name of the DNS record at the DNS host.- Returns:
- a
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
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
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 -
setIsOptional
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
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
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
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
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.
-