Interface PhoneNumberOrder.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PhoneNumberOrder.Builder,
,PhoneNumberOrder> SdkBuilder<PhoneNumberOrder.Builder,
,PhoneNumberOrder> SdkPojo
- Enclosing class:
PhoneNumberOrder
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTimestamp
(Instant createdTimestamp) The phone number order creation time stamp, in ISO 8601 format.orderedPhoneNumbers
(Collection<OrderedPhoneNumber> orderedPhoneNumbers) The ordered phone number details, such as the phone number in E.164 format and the phone number status.orderedPhoneNumbers
(Consumer<OrderedPhoneNumber.Builder>... orderedPhoneNumbers) The ordered phone number details, such as the phone number in E.164 format and the phone number status.orderedPhoneNumbers
(OrderedPhoneNumber... orderedPhoneNumbers) The ordered phone number details, such as the phone number in E.164 format and the phone number status.phoneNumberOrderId
(String phoneNumberOrderId) The phone number order ID.productType
(String productType) The phone number order product type.productType
(PhoneNumberProductType productType) The phone number order product type.The status of the phone number order.status
(PhoneNumberOrderStatus status) The status of the phone number order.updatedTimestamp
(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 Details
-
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
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:
-
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:
-
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:
-
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:
-
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
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.Builder
avoiding the need to create one manually viaOrderedPhoneNumber.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorderedPhoneNumbers(List<OrderedPhoneNumber>)
.- 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:
-
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
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.
-