Interface DomainSuggestion.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DomainSuggestion.Builder,,DomainSuggestion> SdkBuilder<DomainSuggestion.Builder,,DomainSuggestion> SdkPojo
- Enclosing class:
DomainSuggestion
-
Method Summary
Modifier and TypeMethodDescriptionavailability(String availability) Specifies whether the domain name is available for registering.domainName(String domainName) A suggested domain name.default DomainSuggestion.Builderprice(Consumer<PriceWithCurrency.Builder> price) The price to register the suggested domain name, in the currency thatCurrencyspecifies.price(PriceWithCurrency price) The price to register the suggested domain name, in the currency thatCurrencyspecifies.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
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
Specifies whether the domain name is available for registering. This element is populated only if you specified
trueforOnlyAvailablein 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 specifiedtrueforOnlyAvailablein 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
Currencyspecifies. This element is populated only if you specifiedtrueforOnlyAvailablein the request.- Parameters:
price- The price to register the suggested domain name, in the currency thatCurrencyspecifies. This element is populated only if you specifiedtrueforOnlyAvailablein 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
This is a convenience method that creates an instance of theCurrencyspecifies. This element is populated only if you specifiedtrueforOnlyAvailablein the request.PriceWithCurrency.Builderavoiding the need to create one manually viaPriceWithCurrency.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprice(PriceWithCurrency).- Parameters:
price- a consumer that will call methods onPriceWithCurrency.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-