Interface DomainSuggestion.Builder

  • Method Details

    • domainName

      DomainSuggestion.Builder domainName(String domainName)

      A suggested domain name.

      Parameters:
      domainName - A suggested domain name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availability

      DomainSuggestion.Builder availability(String availability)

      Specifies whether the domain name is available for registering. This element is populated only if you specified true for OnlyAvailable in the request.

      You can register only the domains that are designated as AVAILABLE.

      Valid values:

      AVAILABLE

      The domain name is available.

      AVAILABLE_RESERVED

      The domain name is reserved under specific conditions.

      AVAILABLE_PREORDER

      The domain name is available and can be preordered.

      DONT_KNOW

      The TLD registry didn't reply with a definitive answer about whether the domain name is available. Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.

      PENDING

      The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.

      RESERVED

      The domain name has been reserved for another person or organization.

      UNAVAILABLE

      The domain name is not available.

      UNAVAILABLE_PREMIUM

      The domain name is not available.

      UNAVAILABLE_RESTRICTED

      The domain name is forbidden.

      Parameters:
      availability - Specifies whether the domain name is available for registering. This element is populated only if you specified true for OnlyAvailable in the request.

      You can register only the domains that are designated as AVAILABLE.

      Valid values:

      AVAILABLE

      The domain name is available.

      AVAILABLE_RESERVED

      The domain name is reserved under specific conditions.

      AVAILABLE_PREORDER

      The domain name is available and can be preordered.

      DONT_KNOW

      The TLD registry didn't reply with a definitive answer about whether the domain name is available. Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.

      PENDING

      The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.

      RESERVED

      The domain name has been reserved for another person or organization.

      UNAVAILABLE

      The domain name is not available.

      UNAVAILABLE_PREMIUM

      The domain name is not available.

      UNAVAILABLE_RESTRICTED

      The domain name is forbidden.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • price

      The price to register the suggested domain name, in the currency that Currency specifies. This element is populated only if you specified true for OnlyAvailable in the request.

      Parameters:
      price - The price to register the suggested domain name, in the currency that Currency specifies. This element is populated only if you specified true for OnlyAvailable in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • price

      The price to register the suggested domain name, in the currency that Currency specifies. This element is populated only if you specified true for OnlyAvailable in the request.

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

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

      Parameters:
      price - a consumer that will call methods on PriceWithCurrency.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: