public final class SoaRecord extends Object
| Constructor and Description |
|---|
SoaRecord() |
| Modifier and Type | Method and Description |
|---|---|
String |
email()
Get the email property: The email contact for this SOA record.
|
Long |
expireTime()
Get the expireTime property: The expire time for this SOA record.
|
String |
host()
Get the host property: The domain name of the authoritative name server for this SOA record.
|
Long |
minimumTtl()
Get the minimumTtl property: The minimum value for this SOA record.
|
Long |
refreshTime()
Get the refreshTime property: The refresh value for this SOA record.
|
Long |
retryTime()
Get the retryTime property: The retry time for this SOA record.
|
Long |
serialNumber()
Get the serialNumber property: The serial number for this SOA record.
|
void |
validate()
Validates the instance.
|
SoaRecord |
withEmail(String email)
Set the email property: The email contact for this SOA record.
|
SoaRecord |
withExpireTime(Long expireTime)
Set the expireTime property: The expire time for this SOA record.
|
SoaRecord |
withHost(String host)
Set the host property: The domain name of the authoritative name server for this SOA record.
|
SoaRecord |
withMinimumTtl(Long minimumTtl)
Set the minimumTtl property: The minimum value for this SOA record.
|
SoaRecord |
withRefreshTime(Long refreshTime)
Set the refreshTime property: The refresh value for this SOA record.
|
SoaRecord |
withRetryTime(Long retryTime)
Set the retryTime property: The retry time for this SOA record.
|
SoaRecord |
withSerialNumber(Long serialNumber)
Set the serialNumber property: The serial number for this SOA record.
|
public String host()
public SoaRecord withHost(String host)
host - the host value to set.public String email()
public SoaRecord withEmail(String email)
email - the email value to set.public Long serialNumber()
public SoaRecord withSerialNumber(Long serialNumber)
serialNumber - the serialNumber value to set.public Long refreshTime()
public SoaRecord withRefreshTime(Long refreshTime)
refreshTime - the refreshTime value to set.public Long retryTime()
public SoaRecord withRetryTime(Long retryTime)
retryTime - the retryTime value to set.public Long expireTime()
public SoaRecord withExpireTime(Long expireTime)
expireTime - the expireTime value to set.public Long minimumTtl()
public SoaRecord withMinimumTtl(Long minimumTtl)
minimumTtl - the minimumTtl value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.