@Generated(value="software.amazon.awssdk:codegen") public final class RegisterDomainRequest extends Route53DomainsRequest implements ToCopyableBuilder<RegisterDomainRequest.Builder,RegisterDomainRequest>
The RegisterDomain request includes the following elements.
Modifier and Type | Class and Description |
---|---|
static interface |
RegisterDomainRequest.Builder |
Modifier and Type | Method and Description |
---|---|
ContactDetail |
adminContact()
Provides detailed contact information.
|
Boolean |
autoRenew()
Indicates whether the domain will be automatically renewed (
true ) or not (false ). |
static RegisterDomainRequest.Builder |
builder() |
String |
domainName()
The domain name that you want to register.
|
Integer |
durationInYears()
The number of years that you want to register the domain for.
|
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() |
String |
idnLangCode()
Reserved for future use.
|
Boolean |
privacyProtectAdminContact()
Whether you want to conceal contact information from WHOIS queries.
|
Boolean |
privacyProtectRegistrantContact()
Whether you want to conceal contact information from WHOIS queries.
|
Boolean |
privacyProtectTechContact()
Whether you want to conceal contact information from WHOIS queries.
|
ContactDetail |
registrantContact()
Provides detailed contact information.
|
static Class<? extends RegisterDomainRequest.Builder> |
serializableBuilderClass() |
ContactDetail |
techContact()
Provides detailed contact information.
|
RegisterDomainRequest.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()
The domain name that you want to register.
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
public String idnLangCode()
Reserved for future use.
public Integer durationInYears()
The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period 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
Default: 1
public Boolean autoRenew()
Indicates whether the domain will be automatically renewed (true
) or not (false
).
Autorenewal only takes effect after the account is charged.
Default: true
true
) or not (false
). Autorenewal only takes effect after the account is charged.
Default: true
public ContactDetail adminContact()
Provides detailed contact information.
public ContactDetail registrantContact()
Provides detailed contact information.
public ContactDetail techContact()
Provides detailed contact information.
public Boolean privacyProtectAdminContact()
Whether you want to conceal contact information from WHOIS queries. If you specify true
, WHOIS
("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact
information that you enter.
Default: true
true
,
WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the
contact information that you enter.
Default: true
public Boolean privacyProtectRegistrantContact()
Whether you want to conceal contact information from WHOIS queries. If you specify true
, WHOIS
("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact
information that you enter.
Default: true
true
,
WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the
contact information that you enter.
Default: true
public Boolean privacyProtectTechContact()
Whether you want to conceal contact information from WHOIS queries. If you specify true
, WHOIS
("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact
information that you enter.
Default: true
true
,
WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the
contact information that you enter.
Default: true
public RegisterDomainRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RegisterDomainRequest.Builder,RegisterDomainRequest>
toBuilder
in class Route53DomainsRequest
public static RegisterDomainRequest.Builder builder()
public static Class<? extends RegisterDomainRequest.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.