DnsRecordSet.UpdateStages.WithSoaRecordAttributes Interface

public static interface DnsRecordSet.UpdateStages.WithSoaRecordAttributes

The stage of the SOA record definition allowing to update its attributes.

Method Summary

Modifier and Type Method and Description
abstract UpdateSoaRecord withEmailServer(String emailServerHostName)

Specifies the email server associated with the SOA record.

abstract UpdateSoaRecord 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.

abstract UpdateSoaRecord withNegativeResponseCachingTimeToLiveInSeconds(long negativeCachingTimeToLive)

Specifies the time in seconds that any name server or resolver should cache a negative response.

abstract UpdateSoaRecord 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.

abstract UpdateSoaRecord 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.

abstract UpdateSoaRecord withSerialNumber(long serialNumber)

Specifies the serial number for the zone file.

Method Details

withEmailServer

public abstract DnsRecordSet.UpdateSoaRecord withEmailServer(String emailServerHostName)

Specifies the email server associated with the SOA record.

Parameters:

emailServerHostName - the email server

Returns:

the next stage of the record set update

withExpireTimeInSeconds

public abstract DnsRecordSet.UpdateSoaRecord 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.

Parameters:

expireTimeInSeconds - the expire time in seconds

Returns:

the next stage of the record set update

withNegativeResponseCachingTimeToLiveInSeconds

public abstract 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

withRefreshTimeInSeconds

public abstract DnsRecordSet.UpdateSoaRecord 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.

Parameters:

refreshTimeInSeconds - the refresh time in seconds

Returns:

the next stage of the record set update

withRetryTimeInSeconds

public abstract DnsRecordSet.UpdateSoaRecord 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.

Parameters:

refreshTimeInSeconds - the retry time in seconds

Returns:

the next stage of the record set update

withSerialNumber

public abstract DnsRecordSet.UpdateSoaRecord withSerialNumber(long serialNumber)

Specifies the serial number for the zone file.

Parameters:

serialNumber - the serial number

Returns:

the next stage of the record set update

Applies to