@Generated(value="software.amazon.awssdk:codegen") public final class GetDomainSuggestionsRequest extends Route53DomainsRequest implements ToCopyableBuilder<GetDomainSuggestionsRequest.Builder,GetDomainSuggestionsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetDomainSuggestionsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetDomainSuggestionsRequest.Builder |
builder() |
String |
domainName()
A domain name that you want to use as the basis for a list of possible domain names.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Boolean |
onlyAvailable()
If
OnlyAvailable is true , Amazon Route 53 returns only domain names that are available. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetDomainSuggestionsRequest.Builder> |
serializableBuilderClass() |
Integer |
suggestionCount()
The number of suggested domain names that you want Amazon Route 53 to return.
|
GetDomainSuggestionsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String domainName()
A domain name that you want to use as the basis for a list of possible domain names. The domain name must contain a top-level domain (TLD), such as .com, that Amazon Route 53 supports. For a list of TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
public Integer suggestionCount()
The number of suggested domain names that you want Amazon Route 53 to return.
public Boolean onlyAvailable()
If OnlyAvailable
is true
, Amazon Route 53 returns only domain names that are available.
If OnlyAvailable
is false
, Amazon Route 53 returns domain names without checking
whether they're available to be registered. To determine whether the domain is available, you can call
checkDomainAvailability
for each suggestion.
OnlyAvailable
is true
, Amazon Route 53 returns only domain names that are
available. If OnlyAvailable
is false
, Amazon Route 53 returns domain names
without checking whether they're available to be registered. To determine whether the domain is
available, you can call checkDomainAvailability
for each suggestion.public GetDomainSuggestionsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetDomainSuggestionsRequest.Builder,GetDomainSuggestionsRequest>
toBuilder
in class Route53DomainsRequest
public static GetDomainSuggestionsRequest.Builder builder()
public static Class<? extends GetDomainSuggestionsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.