@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getCurrentExpiryYear()
The year when the registration for the domain is set to expire.
|
String |
getDomainName()
The name of the domain that you want to renew.
|
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)
The name of the domain that you want to renew.
|
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)
The name of the domain that you want to renew.
|
RenewDomainRequest |
withDurationInYears(Integer durationInYears)
The number of years that you want to renew the domain for.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomainName(String domainName)
The name of the domain that you want to renew.
domainName
- The name of the domain that you want to renew.public String getDomainName()
The name of the domain that you want to renew.
public RenewDomainRequest withDomainName(String domainName)
The name of the domain that you want to renew.
domainName
- The name of the domain that you want to renew.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 Developer Guide.
Default: 1
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 Developer Guide.
Default: 1
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 Developer Guide.
Default: 1
Default: 1
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 Developer Guide.
Default: 1
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 Developer Guide.
Default: 1
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.
currentExpiryYear
- The year when the registration for the domain is set to expire. This value must match the current
expiration date for the domain.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.
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.
currentExpiryYear
- The year when the registration for the domain is set to expire. This value must match the current
expiration date for the domain.public String toString()
toString
in class Object
Object.toString()
public RenewDomainRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.