Interface ContactDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContactDetail.Builder,ContactDetail>,SdkBuilder<ContactDetail.Builder,ContactDetail>,SdkPojo
- Enclosing class:
- ContactDetail
public static interface ContactDetail.Builder extends SdkPojo, CopyableBuilder<ContactDetail.Builder,ContactDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContactDetail.BuilderaddressLine1(String addressLine1)First line of the contact's address.ContactDetail.BuilderaddressLine2(String addressLine2)Second line of contact's address, if any.ContactDetail.Buildercity(String city)The city of the contact's address.ContactDetail.BuildercontactType(String contactType)Indicates whether the contact is a person, company, association, or public organization.ContactDetail.BuildercontactType(ContactType contactType)Indicates whether the contact is a person, company, association, or public organization.ContactDetail.BuildercountryCode(String countryCode)Code for the country of the contact's address.ContactDetail.BuildercountryCode(CountryCode countryCode)Code for the country of the contact's address.ContactDetail.Builderemail(String email)Email address of the contact.ContactDetail.BuilderextraParams(Collection<ExtraParam> extraParams)A list of name-value pairs for parameters required by certain top-level domains.ContactDetail.BuilderextraParams(Consumer<ExtraParam.Builder>... extraParams)A list of name-value pairs for parameters required by certain top-level domains.ContactDetail.BuilderextraParams(ExtraParam... extraParams)A list of name-value pairs for parameters required by certain top-level domains.ContactDetail.Builderfax(String fax)Fax number of the contact.ContactDetail.BuilderfirstName(String firstName)First name of contact.ContactDetail.BuilderlastName(String lastName)Last name of contact.ContactDetail.BuilderorganizationName(String organizationName)Name of the organization for contact types other thanPERSON.ContactDetail.BuilderphoneNumber(String phoneNumber)The phone number of the contact.ContactDetail.Builderstate(String state)The state or province of the contact's city.ContactDetail.BuilderzipCode(String zipCode)The zip or postal code of the contact's address.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
firstName
ContactDetail.Builder firstName(String firstName)
First name of contact.
- Parameters:
firstName- First name of contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastName
ContactDetail.Builder lastName(String lastName)
Last name of contact.
- Parameters:
lastName- Last name of contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactType
ContactDetail.Builder contactType(String contactType)
Indicates whether the contact is a person, company, association, or public organization. Note the following:
-
If you specify a value other than
PERSON, you must also specify a value forOrganizationName. -
For some TLDs, the privacy protection available depends on the value that you specify for
Contact Type. For the privacy protection settings for your TLD, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide -
For .es domains, the value of
ContactTypemust bePERSONfor all three contacts.
- Parameters:
contactType- Indicates whether the contact is a person, company, association, or public organization. Note the following:-
If you specify a value other than
PERSON, you must also specify a value forOrganizationName. -
For some TLDs, the privacy protection available depends on the value that you specify for
Contact Type. For the privacy protection settings for your TLD, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide -
For .es domains, the value of
ContactTypemust bePERSONfor all three contacts.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContactType,ContactType
-
-
contactType
ContactDetail.Builder contactType(ContactType contactType)
Indicates whether the contact is a person, company, association, or public organization. Note the following:
-
If you specify a value other than
PERSON, you must also specify a value forOrganizationName. -
For some TLDs, the privacy protection available depends on the value that you specify for
Contact Type. For the privacy protection settings for your TLD, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide -
For .es domains, the value of
ContactTypemust bePERSONfor all three contacts.
- Parameters:
contactType- Indicates whether the contact is a person, company, association, or public organization. Note the following:-
If you specify a value other than
PERSON, you must also specify a value forOrganizationName. -
For some TLDs, the privacy protection available depends on the value that you specify for
Contact Type. For the privacy protection settings for your TLD, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide -
For .es domains, the value of
ContactTypemust bePERSONfor all three contacts.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContactType,ContactType
-
-
organizationName
ContactDetail.Builder organizationName(String organizationName)
Name of the organization for contact types other than
PERSON.- Parameters:
organizationName- Name of the organization for contact types other thanPERSON.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressLine1
ContactDetail.Builder addressLine1(String addressLine1)
First line of the contact's address.
- Parameters:
addressLine1- First line of the contact's address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressLine2
ContactDetail.Builder addressLine2(String addressLine2)
Second line of contact's address, if any.
- Parameters:
addressLine2- Second line of contact's address, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
city
ContactDetail.Builder city(String city)
The city of the contact's address.
- Parameters:
city- The city of the contact's address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
ContactDetail.Builder state(String state)
The state or province of the contact's city.
- Parameters:
state- The state or province of the contact's city.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countryCode
ContactDetail.Builder countryCode(String countryCode)
Code for the country of the contact's address.
- Parameters:
countryCode- Code for the country of the contact's address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CountryCode,CountryCode
-
countryCode
ContactDetail.Builder countryCode(CountryCode countryCode)
Code for the country of the contact's address.
- Parameters:
countryCode- Code for the country of the contact's address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CountryCode,CountryCode
-
zipCode
ContactDetail.Builder zipCode(String zipCode)
The zip or postal code of the contact's address.
- Parameters:
zipCode- The zip or postal code of the contact's address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumber
ContactDetail.Builder phoneNumber(String phoneNumber)
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as
"+1.1234567890".- Parameters:
phoneNumber- The phone number of the contact.Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as
"+1.1234567890".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
ContactDetail.Builder email(String email)
Email address of the contact.
- Parameters:
email- Email address of the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fax
ContactDetail.Builder fax(String fax)
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as
"+1.1234567890".- Parameters:
fax- Fax number of the contact.Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as
"+1.1234567890".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extraParams
ContactDetail.Builder extraParams(Collection<ExtraParam> extraParams)
A list of name-value pairs for parameters required by certain top-level domains.
- Parameters:
extraParams- A list of name-value pairs for parameters required by certain top-level domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extraParams
ContactDetail.Builder extraParams(ExtraParam... extraParams)
A list of name-value pairs for parameters required by certain top-level domains.
- Parameters:
extraParams- A list of name-value pairs for parameters required by certain top-level domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extraParams
ContactDetail.Builder extraParams(Consumer<ExtraParam.Builder>... extraParams)
A list of name-value pairs for parameters required by certain top-level domains.
This is a convenience method that creates an instance of theExtraParam.Builderavoiding the need to create one manually viaExtraParam.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#extraParams(List.) - Parameters:
extraParams- a consumer that will call methods onExtraParam.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#extraParams(java.util.Collection)
-
-