Interface ContactInformation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContactInformation.Builder,ContactInformation>,SdkBuilder<ContactInformation.Builder,ContactInformation>,SdkPojo
- Enclosing class:
- ContactInformation
public static interface ContactInformation.Builder extends SdkPojo, CopyableBuilder<ContactInformation.Builder,ContactInformation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContactInformation.BuilderaddressLine1(String addressLine1)The first line of the primary contact address.ContactInformation.BuilderaddressLine2(String addressLine2)The second line of the primary contact address, if any.ContactInformation.BuilderaddressLine3(String addressLine3)The third line of the primary contact address, if any.ContactInformation.Buildercity(String city)The city of the primary contact address.ContactInformation.BuildercompanyName(String companyName)The name of the company associated with the primary contact information, if any.ContactInformation.BuildercountryCode(String countryCode)The ISO-3166 two-letter country code for the primary contact address.ContactInformation.BuilderdistrictOrCounty(String districtOrCounty)The district or county of the primary contact address, if any.ContactInformation.BuilderfullName(String fullName)The full name of the primary contact address.ContactInformation.BuilderphoneNumber(String phoneNumber)The phone number of the primary contact information.ContactInformation.BuilderpostalCode(String postalCode)The postal code of the primary contact address.ContactInformation.BuilderstateOrRegion(String stateOrRegion)The state or region of the primary contact address.ContactInformation.BuilderwebsiteUrl(String websiteUrl)The URL of the website associated with the primary contact information, if any.-
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
-
addressLine1
ContactInformation.Builder addressLine1(String addressLine1)
The first line of the primary contact address.
- Parameters:
addressLine1- The first line of the primary contact address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressLine2
ContactInformation.Builder addressLine2(String addressLine2)
The second line of the primary contact address, if any.
- Parameters:
addressLine2- The second line of the primary contact address, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressLine3
ContactInformation.Builder addressLine3(String addressLine3)
The third line of the primary contact address, if any.
- Parameters:
addressLine3- The third line of the primary contact address, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
city
ContactInformation.Builder city(String city)
The city of the primary contact address.
- Parameters:
city- The city of the primary contact address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
companyName
ContactInformation.Builder companyName(String companyName)
The name of the company associated with the primary contact information, if any.
- Parameters:
companyName- The name of the company associated with the primary contact information, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countryCode
ContactInformation.Builder countryCode(String countryCode)
The ISO-3166 two-letter country code for the primary contact address.
- Parameters:
countryCode- The ISO-3166 two-letter country code for the primary contact address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
districtOrCounty
ContactInformation.Builder districtOrCounty(String districtOrCounty)
The district or county of the primary contact address, if any.
- Parameters:
districtOrCounty- The district or county of the primary contact address, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fullName
ContactInformation.Builder fullName(String fullName)
The full name of the primary contact address.
- Parameters:
fullName- The full name of the primary contact address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumber
ContactInformation.Builder phoneNumber(String phoneNumber)
The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.
- Parameters:
phoneNumber- The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postalCode
ContactInformation.Builder postalCode(String postalCode)
The postal code of the primary contact address.
- Parameters:
postalCode- The postal code of the primary contact address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateOrRegion
ContactInformation.Builder stateOrRegion(String stateOrRegion)
The state or region of the primary contact address. If the mailing address is within the United States (US), the value in this field can be either a two character state code (for example,
NJ) or the full state name (for example,New Jersey). This field is required in the following countries:US,CA,GB,DE,JP,IN, andBR.- Parameters:
stateOrRegion- The state or region of the primary contact address. If the mailing address is within the United States (US), the value in this field can be either a two character state code (for example,NJ) or the full state name (for example,New Jersey). This field is required in the following countries:US,CA,GB,DE,JP,IN, andBR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
websiteUrl
ContactInformation.Builder websiteUrl(String websiteUrl)
The URL of the website associated with the primary contact information, if any.
- Parameters:
websiteUrl- The URL of the website associated with the primary contact information, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-