Interface RenewDomainRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RenewDomainRequest.Builder,,RenewDomainRequest> Route53DomainsRequest.Builder,SdkBuilder<RenewDomainRequest.Builder,,RenewDomainRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RenewDomainRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault RenewDomainRequest.Builderconsent(Consumer<Consent.Builder> consent) Specifies the maximum price that you agree to pay to renew the domain name.Specifies the maximum price that you agree to pay to renew the domain name.currentExpiryYear(Integer currentExpiryYear) The year when the registration for the domain is set to expire.domainName(String domainName) The name of the domain that you want to renew.durationInYears(Integer durationInYears) The number of years that you want to renew the domain for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53domains.model.Route53DomainsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainName
The name of the domain that you want to renew.
- Parameters:
domainName- The name of the domain that you want to renew.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentExpiryYear
The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.
- Parameters:
currentExpiryYear- The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consent
Specifies the maximum price that you agree to pay to renew the domain name. This element is required if the domain has registry premium pricing, and optional if the domain is priced at the standard rate for its TLD. If you include it and the renewal price is more than
MaxPrice, the request fails.- Parameters:
consent- Specifies the maximum price that you agree to pay to renew the domain name. This element is required if the domain has registry premium pricing, and optional if the domain is priced at the standard rate for its TLD. If you include it and the renewal price is more thanMaxPrice, the request fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consent
Specifies the maximum price that you agree to pay to renew the domain name. This element is required if the domain has registry premium pricing, and optional if the domain is priced at the standard rate for its TLD. If you include it and the renewal price is more than
This is a convenience method that creates an instance of theMaxPrice, the request fails.Consent.Builderavoiding the need to create one manually viaConsent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconsent(Consent).- Parameters:
consent- a consumer that will call methods onConsent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
RenewDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RenewDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-