Interface RenewDomainRequest.Builder

  • Method Details

    • domainName

      RenewDomainRequest.Builder domainName(String 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

      RenewDomainRequest.Builder durationInYears(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

      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

      RenewDomainRequest.Builder currentExpiryYear(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.

      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 than MaxPrice, 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 MaxPrice, the request fails.

      This is a convenience method that creates an instance of the Consent.Builder avoiding the need to create one manually via Consent.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to consent(Consent).

      Parameters:
      consent - a consumer that will call methods on Consent.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.