Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.dns; import com.fasterxml.jackson.annotation.JsonProperty;
An SOA record.
/** * An SOA record. */
public class SoaRecord {
The domain name of the authoritative name server for this SOA record.
/** * The domain name of the authoritative name server for this SOA record. */
@JsonProperty(value = "host") private String host;
The email contact for this SOA record.
/** * The email contact for this SOA record. */
@JsonProperty(value = "email") private String email;
The serial number for this SOA record.
/** * The serial number for this SOA record. */
@JsonProperty(value = "serialNumber") private Long serialNumber;
The refresh value for this SOA record.
/** * The refresh value for this SOA record. */
@JsonProperty(value = "refreshTime") private Long refreshTime;
The retry time for this SOA record.
/** * The retry time for this SOA record. */
@JsonProperty(value = "retryTime") private Long retryTime;
The expire time for this SOA record.
/** * The expire time for this SOA record. */
@JsonProperty(value = "expireTime") private Long expireTime;
The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
/** * The minimum value for this SOA record. By convention this is used to * determine the negative caching duration. */
@JsonProperty(value = "minimumTTL") private Long minimumTtl;
Get the host value.
Returns:the host value
/** * Get the host value. * * @return the host value */
public String host() { return this.host; }
Set the host value.
Params:
  • host – the host value to set
Returns:the SoaRecord object itself.
/** * Set the host value. * * @param host the host value to set * @return the SoaRecord object itself. */
public SoaRecord withHost(String host) { this.host = host; return this; }
Get the email value.
Returns:the email value
/** * Get the email value. * * @return the email value */
public String email() { return this.email; }
Set the email value.
Params:
  • email – the email value to set
Returns:the SoaRecord object itself.
/** * Set the email value. * * @param email the email value to set * @return the SoaRecord object itself. */
public SoaRecord withEmail(String email) { this.email = email; return this; }
Get the serialNumber value.
Returns:the serialNumber value
/** * Get the serialNumber value. * * @return the serialNumber value */
public Long serialNumber() { return this.serialNumber; }
Set the serialNumber value.
Params:
  • serialNumber – the serialNumber value to set
Returns:the SoaRecord object itself.
/** * Set the serialNumber value. * * @param serialNumber the serialNumber value to set * @return the SoaRecord object itself. */
public SoaRecord withSerialNumber(Long serialNumber) { this.serialNumber = serialNumber; return this; }
Get the refreshTime value.
Returns:the refreshTime value
/** * Get the refreshTime value. * * @return the refreshTime value */
public Long refreshTime() { return this.refreshTime; }
Set the refreshTime value.
Params:
  • refreshTime – the refreshTime value to set
Returns:the SoaRecord object itself.
/** * Set the refreshTime value. * * @param refreshTime the refreshTime value to set * @return the SoaRecord object itself. */
public SoaRecord withRefreshTime(Long refreshTime) { this.refreshTime = refreshTime; return this; }
Get the retryTime value.
Returns:the retryTime value
/** * Get the retryTime value. * * @return the retryTime value */
public Long retryTime() { return this.retryTime; }
Set the retryTime value.
Params:
  • retryTime – the retryTime value to set
Returns:the SoaRecord object itself.
/** * Set the retryTime value. * * @param retryTime the retryTime value to set * @return the SoaRecord object itself. */
public SoaRecord withRetryTime(Long retryTime) { this.retryTime = retryTime; return this; }
Get the expireTime value.
Returns:the expireTime value
/** * Get the expireTime value. * * @return the expireTime value */
public Long expireTime() { return this.expireTime; }
Set the expireTime value.
Params:
  • expireTime – the expireTime value to set
Returns:the SoaRecord object itself.
/** * Set the expireTime value. * * @param expireTime the expireTime value to set * @return the SoaRecord object itself. */
public SoaRecord withExpireTime(Long expireTime) { this.expireTime = expireTime; return this; }
Get the minimumTtl value.
Returns:the minimumTtl value
/** * Get the minimumTtl value. * * @return the minimumTtl value */
public Long minimumTtl() { return this.minimumTtl; }
Set the minimumTtl value.
Params:
  • minimumTtl – the minimumTtl value to set
Returns:the SoaRecord object itself.
/** * Set the minimumTtl value. * * @param minimumTtl the minimumTtl value to set * @return the SoaRecord object itself. */
public SoaRecord withMinimumTtl(Long minimumTtl) { this.minimumTtl = minimumTtl; return this; } }