Class SoaRecord
java.lang.Object
com.azure.resourcemanager.dns.models.SoaRecord
An SOA record.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionemail()Get the email property: The email contact for this SOA record.Get the expireTime property: The expire time for this SOA record.host()Get the host property: The domain name of the authoritative name server for this SOA record.Get the minimumTtl property: The minimum value for this SOA record.Get the refreshTime property: The refresh value for this SOA record.Get the retryTime property: The retry time for this SOA record.Get the serialNumber property: The serial number for this SOA record.voidvalidate()Validates the instance.Set the email property: The email contact for this SOA record.withExpireTime(Long expireTime) Set the expireTime property: The expire time for this SOA record.Set the host property: The domain name of the authoritative name server for this SOA record.withMinimumTtl(Long minimumTtl) Set the minimumTtl property: The minimum value for this SOA record.withRefreshTime(Long refreshTime) Set the refreshTime property: The refresh value for this SOA record.withRetryTime(Long retryTime) Set the retryTime property: The retry time for this SOA record.withSerialNumber(Long serialNumber) Set the serialNumber property: The serial number for this SOA record.
-
Constructor Details
-
SoaRecord
public SoaRecord()Creates an instance of SoaRecord class.
-
-
Method Details
-
host
Get the host property: The domain name of the authoritative name server for this SOA record.- Returns:
- the host value.
-
withHost
Set the host property: The domain name of the authoritative name server for this SOA record.- Parameters:
host- the host value to set.- Returns:
- the SoaRecord object itself.
-
email
Get the email property: The email contact for this SOA record.- Returns:
- the email value.
-
withEmail
Set the email property: The email contact for this SOA record.- Parameters:
email- the email value to set.- Returns:
- the SoaRecord object itself.
-
serialNumber
Get the serialNumber property: The serial number for this SOA record.- Returns:
- the serialNumber value.
-
withSerialNumber
Set the serialNumber property: The serial number for this SOA record.- Parameters:
serialNumber- the serialNumber value to set.- Returns:
- the SoaRecord object itself.
-
refreshTime
Get the refreshTime property: The refresh value for this SOA record.- Returns:
- the refreshTime value.
-
withRefreshTime
Set the refreshTime property: The refresh value for this SOA record.- Parameters:
refreshTime- the refreshTime value to set.- Returns:
- the SoaRecord object itself.
-
retryTime
Get the retryTime property: The retry time for this SOA record.- Returns:
- the retryTime value.
-
withRetryTime
Set the retryTime property: The retry time for this SOA record.- Parameters:
retryTime- the retryTime value to set.- Returns:
- the SoaRecord object itself.
-
expireTime
Get the expireTime property: The expire time for this SOA record.- Returns:
- the expireTime value.
-
withExpireTime
Set the expireTime property: The expire time for this SOA record.- Parameters:
expireTime- the expireTime value to set.- Returns:
- the SoaRecord object itself.
-
minimumTtl
Get the minimumTtl property: The minimum value for this SOA record. By convention this is used to determine the negative caching duration.- Returns:
- the minimumTtl value.
-
withMinimumTtl
Set the minimumTtl property: The minimum value for this SOA record. By convention this is used to determine the negative caching duration.- Parameters:
minimumTtl- the minimumTtl value to set.- Returns:
- the SoaRecord object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-