public class RenewDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A RenewDomain request includes the number of years that you want to renew for and the current expiration
year.
NOOP| Constructor and Description |
|---|
RenewDomainRequest() |
| Modifier and Type | Method and Description |
|---|---|
RenewDomainRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getCurrentExpiryYear()
The year when the registration for the domain is set to expire.
|
String |
getDomainName() |
Integer |
getDurationInYears()
The number of years that you want to renew the domain for.
|
int |
hashCode() |
void |
setCurrentExpiryYear(Integer currentExpiryYear)
The year when the registration for the domain is set to expire.
|
void |
setDomainName(String domainName) |
void |
setDurationInYears(Integer durationInYears)
The number of years that you want to renew the domain for.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RenewDomainRequest |
withCurrentExpiryYear(Integer currentExpiryYear)
The year when the registration for the domain is set to expire.
|
RenewDomainRequest |
withDomainName(String domainName) |
RenewDomainRequest |
withDurationInYears(Integer durationInYears)
The number of years that you want to renew the domain for.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDomainName(String domainName)
domainName - public String getDomainName()
public RenewDomainRequest withDomainName(String domainName)
domainName - public void setDurationInYears(Integer durationInYears)
The number of years that you want to renew the domain for. The maximum number of years depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 documentation.
Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: No
durationInYears - The number of years that you want to renew the domain for. The maximum number of years depends on the
top-level domain. For the range of valid values for your domain, see Domains that You Can Register with
Amazon Route 53 in the Amazon Route 53 documentation.
Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: No
public Integer getDurationInYears()
The number of years that you want to renew the domain for. The maximum number of years depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 documentation.
Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: No
Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: No
public RenewDomainRequest withDurationInYears(Integer durationInYears)
The number of years that you want to renew the domain for. The maximum number of years depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 documentation.
Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: No
durationInYears - The number of years that you want to renew the domain for. The maximum number of years depends on the
top-level domain. For the range of valid values for your domain, see Domains that You Can Register with
Amazon Route 53 in the Amazon Route 53 documentation.
Type: Integer
Default: 1
Valid values: Integer from 1 to 10
Required: No
public void setCurrentExpiryYear(Integer currentExpiryYear)
The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.
Type: Integer
Default: None
Valid values: Integer
Required: Yes
currentExpiryYear - The year when the registration for the domain is set to expire. This value must match the current
expiration date for the domain.
Type: Integer
Default: None
Valid values: Integer
Required: Yes
public Integer getCurrentExpiryYear()
The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.
Type: Integer
Default: None
Valid values: Integer
Required: Yes
Type: Integer
Default: None
Valid values: Integer
Required: Yes
public RenewDomainRequest withCurrentExpiryYear(Integer currentExpiryYear)
The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.
Type: Integer
Default: None
Valid values: Integer
Required: Yes
currentExpiryYear - The year when the registration for the domain is set to expire. This value must match the current
expiration date for the domain.
Type: Integer
Default: None
Valid values: Integer
Required: Yes
public String toString()
toString in class ObjectObject.toString()public RenewDomainRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.