Interface PhoneNumber.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<PhoneNumber.Builder,,- PhoneNumber> - SdkBuilder<PhoneNumber.Builder,,- PhoneNumber> - SdkPojo
- Enclosing class:
- PhoneNumber
- 
Method SummaryModifier and TypeMethodDescriptionassociations(Collection<PhoneNumberAssociation> associations) The phone number associations.associations(Consumer<PhoneNumberAssociation.Builder>... associations) The phone number associations.associations(PhoneNumberAssociation... associations) The phone number associations.callingName(String callingName) The outbound calling name associated with the phone number.callingNameStatus(String callingNameStatus) The outbound calling name status.callingNameStatus(CallingNameStatus callingNameStatus) The outbound calling name status.default PhoneNumber.Buildercapabilities(Consumer<PhoneNumberCapabilities.Builder> capabilities) The phone number capabilities.capabilities(PhoneNumberCapabilities capabilities) The phone number capabilities.The phone number country.createdTimestamp(Instant createdTimestamp) The phone number creation timestamp, in ISO 8601 format.deletionTimestamp(Instant deletionTimestamp) The deleted phone number timestamp, in ISO 8601 format.e164PhoneNumber(String e164PhoneNumber) The phone number, in E.164 format.phoneNumberId(String phoneNumberId) The phone number ID.productType(String productType) The phone number product type.productType(PhoneNumberProductType productType) The phone number product type.The phone number status.status(PhoneNumberStatus status) The phone number status.The phone number type.type(PhoneNumberType type) The phone number type.updatedTimestamp(Instant updatedTimestamp) The updated phone number timestamp, in ISO 8601 format.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
phoneNumberIdThe phone number ID. - Parameters:
- phoneNumberId- The phone number ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
e164PhoneNumberThe phone number, in E.164 format. - Parameters:
- e164PhoneNumber- The phone number, in E.164 format.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
countryThe phone number country. Format: ISO 3166-1 alpha-2. - Parameters:
- country- The phone number country. Format: ISO 3166-1 alpha-2.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
typeThe phone number type. - Parameters:
- type- The phone number type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeThe phone number type. - Parameters:
- type- The phone number type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
productTypeThe phone number product type. - Parameters:
- productType- The phone number product type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
productTypeThe phone number product type. - Parameters:
- productType- The phone number product type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe phone number status. - Parameters:
- status- The phone number status.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe phone number status. - Parameters:
- status- The phone number status.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
capabilitiesThe phone number capabilities. - Parameters:
- capabilities- The phone number capabilities.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
capabilitiesThe phone number capabilities. This is a convenience method that creates an instance of thePhoneNumberCapabilities.Builderavoiding the need to create one manually viaPhoneNumberCapabilities.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapabilities(PhoneNumberCapabilities).- Parameters:
- capabilities- a consumer that will call methods on- PhoneNumberCapabilities.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
associationsThe phone number associations. - Parameters:
- associations- The phone number associations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
associationsThe phone number associations. - Parameters:
- associations- The phone number associations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
associationsThe phone number associations. This is a convenience method that creates an instance of thePhoneNumberAssociation.Builderavoiding the need to create one manually viaPhoneNumberAssociation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociations(List<PhoneNumberAssociation>).- Parameters:
- associations- a consumer that will call methods on- PhoneNumberAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
callingNameThe outbound calling name associated with the phone number. - Parameters:
- callingName- The outbound calling name associated with the phone number.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
callingNameStatusThe outbound calling name status. - Parameters:
- callingNameStatus- The outbound calling name status.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
callingNameStatusThe outbound calling name status. - Parameters:
- callingNameStatus- The outbound calling name status.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
createdTimestampThe phone number creation timestamp, in ISO 8601 format. - Parameters:
- createdTimestamp- The phone number creation timestamp, in ISO 8601 format.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
updatedTimestampThe updated phone number timestamp, in ISO 8601 format. - Parameters:
- updatedTimestamp- The updated phone number timestamp, in ISO 8601 format.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
deletionTimestampThe deleted phone number timestamp, in ISO 8601 format. - Parameters:
- deletionTimestamp- The deleted phone number timestamp, in ISO 8601 format.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-