@Generated(value="software.amazon.awssdk:codegen") public final class RenewDomainRequest extends Route53DomainsRequest implements ToCopyableBuilder<RenewDomainRequest.Builder,RenewDomainRequest>
A RenewDomain request includes the number of years that you want to renew for and the current expiration
year.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RenewDomainRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RenewDomainRequest.Builder |
builder() |
Integer |
currentExpiryYear()
The year when the registration for the domain is set to expire.
|
String |
domainName()
The name of the domain that you want to renew.
|
Integer |
durationInYears()
The number of years that you want to renew the domain for.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RenewDomainRequest.Builder> |
serializableBuilderClass() |
RenewDomainRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domainName()
The name of the domain that you want to renew.
public final 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
Default: 1
public final 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.
public RenewDomainRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RenewDomainRequest.Builder,RenewDomainRequest>toBuilder in class Route53DomainsRequestpublic static RenewDomainRequest.Builder builder()
public static Class<? extends RenewDomainRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.