Interface DnsRecordSet.UpdateStages.WithSoaRecordAttributes
- All Known Subinterfaces:
DnsRecordSet.UpdateCombined,DnsRecordSet.UpdateSoaRecord
- Enclosing interface:
- DnsRecordSet.UpdateStages
public static interface DnsRecordSet.UpdateStages.WithSoaRecordAttributes
The stage of the SOA record definition allowing to update its attributes.
-
Method Summary
Modifier and TypeMethodDescriptionwithEmailServer(String emailServerHostName) Specifies the email server associated with the SOA record.withExpireTimeInSeconds(long expireTimeInSeconds) Specifies the time in seconds that a secondary name server will treat its cached zone file as valid when the primary name server cannot be contacted.withNegativeResponseCachingTimeToLiveInSeconds(long negativeCachingTimeToLive) Specifies the time in seconds that any name server or resolver should cache a negative response.withRefreshTimeInSeconds(long refreshTimeInSeconds) Specifies time in seconds that a secondary name server should wait before trying to contact the the primary name server for a zone file update.withRetryTimeInSeconds(long refreshTimeInSeconds) Specifies the time in seconds that a secondary name server should wait before trying to contact the primary name server again after a failed attempt to check for a zone file update.withSerialNumber(long serialNumber) Specifies the serial number for the zone file.
-
Method Details
-
withEmailServer
Specifies the email server associated with the SOA record.- Parameters:
emailServerHostName- the email server- Returns:
- the next stage of the record set update
-
withRefreshTimeInSeconds
Specifies time in seconds that a secondary name server should wait before trying to contact the the primary name server for a zone file update.- Parameters:
refreshTimeInSeconds- the refresh time in seconds- Returns:
- the next stage of the record set update
-
withRetryTimeInSeconds
Specifies the time in seconds that a secondary name server should wait before trying to contact the primary name server again after a failed attempt to check for a zone file update.- Parameters:
refreshTimeInSeconds- the retry time in seconds- Returns:
- the next stage of the record set update
-
withExpireTimeInSeconds
Specifies the time in seconds that a secondary name server will treat its cached zone file as valid when the primary name server cannot be contacted.- Parameters:
expireTimeInSeconds- the expire time in seconds- Returns:
- the next stage of the record set update
-
withNegativeResponseCachingTimeToLiveInSeconds
DnsRecordSet.UpdateSoaRecord withNegativeResponseCachingTimeToLiveInSeconds(long negativeCachingTimeToLive) Specifies the time in seconds that any name server or resolver should cache a negative response.- Parameters:
negativeCachingTimeToLive- the TTL for cached negative response- Returns:
- the next stage of the record set update
-
withSerialNumber
Specifies the serial number for the zone file.- Parameters:
serialNumber- the serial number- Returns:
- the next stage of the record set update
-