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.The Firm Order Commitment (FOC) date for phone number porting orders.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.The type of phone number being ordered, local or toll-free.orderType
(PhoneNumberOrderType orderType) The type of phone number being ordered, local or toll-free.phoneNumberOrderId
(String phoneNumberOrderId) The ID of the phone order.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, sdkFieldNameToField, sdkFields
-
Method Details
-
phoneNumberOrderId
The ID of the phone order.
- Parameters:
phoneNumberOrderId
- The ID of the phone order.- 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:
-
orderType
The type of phone number being ordered, local or toll-free.
- Parameters:
orderType
- The type of phone number being ordered, local or toll-free.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
orderType
The type of phone number being ordered, local or toll-free.
- Parameters:
orderType
- The type of phone number being ordered, local or toll-free.- 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.
-
focDate
The Firm Order Commitment (FOC) date for phone number porting orders. This field is null if a phone number order is not a porting order.
- Parameters:
focDate
- The Firm Order Commitment (FOC) date for phone number porting orders. This field is null if a phone number order is not a porting order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-