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
Update |
withEmailServer(String emailServerHostName)
Specifies the email server associated with the SOA record. |
abstract
Update |
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
Update |
withNegativeResponseCachingTimeToLiveInSeconds(long negativeCachingTimeToLive)
Specifies the time in seconds that any name server or resolver should cache a negative response. |
abstract
Update |
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
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. |
abstract
Update |
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
withSerialNumber
public abstract DnsRecordSet.UpdateSoaRecord withSerialNumber(long serialNumber)
Specifies the serial number for the zone file.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for