Interface PhoneNumberOrder.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PhoneNumberOrder.Builder,PhoneNumberOrder>,SdkBuilder<PhoneNumberOrder.Builder,PhoneNumberOrder>,SdkPojo
- Enclosing class:
- PhoneNumberOrder
public static interface PhoneNumberOrder.Builder extends SdkPojo, CopyableBuilder<PhoneNumberOrder.Builder,PhoneNumberOrder>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PhoneNumberOrder.BuildercreatedTimestamp(Instant createdTimestamp)The phone number order creation time stamp, in ISO 8601 format.PhoneNumberOrder.BuilderorderedPhoneNumbers(Collection<OrderedPhoneNumber> orderedPhoneNumbers)The ordered phone number details, such as the phone number in E.164 format and the phone number status.PhoneNumberOrder.BuilderorderedPhoneNumbers(Consumer<OrderedPhoneNumber.Builder>... orderedPhoneNumbers)The ordered phone number details, such as the phone number in E.164 format and the phone number status.PhoneNumberOrder.BuilderorderedPhoneNumbers(OrderedPhoneNumber... orderedPhoneNumbers)The ordered phone number details, such as the phone number in E.164 format and the phone number status.PhoneNumberOrder.BuilderphoneNumberOrderId(String phoneNumberOrderId)The phone number order ID.PhoneNumberOrder.BuilderproductType(String productType)The phone number order product type.PhoneNumberOrder.BuilderproductType(PhoneNumberProductType productType)The phone number order product type.PhoneNumberOrder.Builderstatus(String status)The status of the phone number order.PhoneNumberOrder.Builderstatus(PhoneNumberOrderStatus status)The status of the phone number order.PhoneNumberOrder.BuilderupdatedTimestamp(Instant updatedTimestamp)The updated phone number order time stamp, in ISO 8601 format.-
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, sdkFields
-
-
-
-
Method Detail
-
phoneNumberOrderId
PhoneNumberOrder.Builder phoneNumberOrderId(String phoneNumberOrderId)
The phone number order ID.
- Parameters:
phoneNumberOrderId- The phone number order ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productType
PhoneNumberOrder.Builder productType(String productType)
The phone number order product type.
- Parameters:
productType- The phone number order product type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PhoneNumberProductType,PhoneNumberProductType
-
productType
PhoneNumberOrder.Builder productType(PhoneNumberProductType productType)
The phone number order product type.
- Parameters:
productType- The phone number order product type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PhoneNumberProductType,PhoneNumberProductType
-
status
PhoneNumberOrder.Builder status(String status)
The status of the phone number order.
- Parameters:
status- The status of the phone number order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PhoneNumberOrderStatus,PhoneNumberOrderStatus
-
status
PhoneNumberOrder.Builder status(PhoneNumberOrderStatus status)
The status of the phone number order.
- Parameters:
status- The status of the phone number order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PhoneNumberOrderStatus,PhoneNumberOrderStatus
-
orderedPhoneNumbers
PhoneNumberOrder.Builder orderedPhoneNumbers(Collection<OrderedPhoneNumber> orderedPhoneNumbers)
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
- Parameters:
orderedPhoneNumbers- The ordered phone number details, such as the phone number in E.164 format and the phone number status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderedPhoneNumbers
PhoneNumberOrder.Builder orderedPhoneNumbers(OrderedPhoneNumber... orderedPhoneNumbers)
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
- Parameters:
orderedPhoneNumbers- The ordered phone number details, such as the phone number in E.164 format and the phone number status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderedPhoneNumbers
PhoneNumberOrder.Builder orderedPhoneNumbers(Consumer<OrderedPhoneNumber.Builder>... orderedPhoneNumbers)
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
This is a convenience method that creates an instance of theOrderedPhoneNumber.Builderavoiding the need to create one manually viaOrderedPhoneNumber.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#orderedPhoneNumbers(List.) - Parameters:
orderedPhoneNumbers- a consumer that will call methods onOrderedPhoneNumber.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#orderedPhoneNumbers(java.util.Collection)
-
createdTimestamp
PhoneNumberOrder.Builder createdTimestamp(Instant createdTimestamp)
The phone number order creation time stamp, in ISO 8601 format.
- Parameters:
createdTimestamp- The phone number order creation time stamp, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedTimestamp
PhoneNumberOrder.Builder updatedTimestamp(Instant updatedTimestamp)
The updated phone number order time stamp, in ISO 8601 format.
- Parameters:
updatedTimestamp- The updated phone number order time stamp, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-