@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PhoneNumberOrder extends Object implements Serializable, Cloneable, StructuredPojo
The details of an Amazon Chime SDK phone number order.
Constructor and Description |
---|
PhoneNumberOrder() |
Modifier and Type | Method and Description |
---|---|
PhoneNumberOrder |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTimestamp()
The phone number order creation time stamp, in ISO 8601 format.
|
List<OrderedPhoneNumber> |
getOrderedPhoneNumbers()
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
|
String |
getOrderType()
The type of phone number being ordered, local or toll-free.
|
String |
getPhoneNumberOrderId()
The ID of the phone order.
|
String |
getProductType()
The phone number order product type.
|
String |
getStatus()
The status of the phone number order.
|
Date |
getUpdatedTimestamp()
The updated phone number order time stamp, in ISO 8601 format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedTimestamp(Date createdTimestamp)
The phone number order creation time stamp, in ISO 8601 format.
|
void |
setOrderedPhoneNumbers(Collection<OrderedPhoneNumber> orderedPhoneNumbers)
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
|
void |
setOrderType(String orderType)
The type of phone number being ordered, local or toll-free.
|
void |
setPhoneNumberOrderId(String phoneNumberOrderId)
The ID of the phone order.
|
void |
setProductType(String productType)
The phone number order product type.
|
void |
setStatus(String status)
The status of the phone number order.
|
void |
setUpdatedTimestamp(Date updatedTimestamp)
The updated phone number order time stamp, in ISO 8601 format.
|
String |
toString()
Returns a string representation of this object.
|
PhoneNumberOrder |
withCreatedTimestamp(Date createdTimestamp)
The phone number order creation time stamp, in ISO 8601 format.
|
PhoneNumberOrder |
withOrderedPhoneNumbers(Collection<OrderedPhoneNumber> orderedPhoneNumbers)
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
|
PhoneNumberOrder |
withOrderedPhoneNumbers(OrderedPhoneNumber... orderedPhoneNumbers)
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
|
PhoneNumberOrder |
withOrderType(PhoneNumberOrderType orderType)
The type of phone number being ordered, local or toll-free.
|
PhoneNumberOrder |
withOrderType(String orderType)
The type of phone number being ordered, local or toll-free.
|
PhoneNumberOrder |
withPhoneNumberOrderId(String phoneNumberOrderId)
The ID of the phone order.
|
PhoneNumberOrder |
withProductType(PhoneNumberProductType productType)
The phone number order product type.
|
PhoneNumberOrder |
withProductType(String productType)
The phone number order product type.
|
PhoneNumberOrder |
withStatus(PhoneNumberOrderStatus status)
The status of the phone number order.
|
PhoneNumberOrder |
withStatus(String status)
The status of the phone number order.
|
PhoneNumberOrder |
withUpdatedTimestamp(Date updatedTimestamp)
The updated phone number order time stamp, in ISO 8601 format.
|
public void setPhoneNumberOrderId(String phoneNumberOrderId)
The ID of the phone order.
phoneNumberOrderId
- The ID of the phone order.public String getPhoneNumberOrderId()
The ID of the phone order.
public PhoneNumberOrder withPhoneNumberOrderId(String phoneNumberOrderId)
The ID of the phone order.
phoneNumberOrderId
- The ID of the phone order.public void setProductType(String productType)
The phone number order product type.
productType
- The phone number order product type.PhoneNumberProductType
public String getProductType()
The phone number order product type.
PhoneNumberProductType
public PhoneNumberOrder withProductType(String productType)
The phone number order product type.
productType
- The phone number order product type.PhoneNumberProductType
public PhoneNumberOrder withProductType(PhoneNumberProductType productType)
The phone number order product type.
productType
- The phone number order product type.PhoneNumberProductType
public void setStatus(String status)
The status of the phone number order.
status
- The status of the phone number order.PhoneNumberOrderStatus
public String getStatus()
The status of the phone number order.
PhoneNumberOrderStatus
public PhoneNumberOrder withStatus(String status)
The status of the phone number order.
status
- The status of the phone number order.PhoneNumberOrderStatus
public PhoneNumberOrder withStatus(PhoneNumberOrderStatus status)
The status of the phone number order.
status
- The status of the phone number order.PhoneNumberOrderStatus
public void setOrderType(String orderType)
The type of phone number being ordered, local or toll-free.
orderType
- The type of phone number being ordered, local or toll-free.PhoneNumberOrderType
public String getOrderType()
The type of phone number being ordered, local or toll-free.
PhoneNumberOrderType
public PhoneNumberOrder withOrderType(String orderType)
The type of phone number being ordered, local or toll-free.
orderType
- The type of phone number being ordered, local or toll-free.PhoneNumberOrderType
public PhoneNumberOrder withOrderType(PhoneNumberOrderType orderType)
The type of phone number being ordered, local or toll-free.
orderType
- The type of phone number being ordered, local or toll-free.PhoneNumberOrderType
public List<OrderedPhoneNumber> getOrderedPhoneNumbers()
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
public void setOrderedPhoneNumbers(Collection<OrderedPhoneNumber> orderedPhoneNumbers)
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
orderedPhoneNumbers
- The ordered phone number details, such as the phone number in E.164 format and the phone number status.public PhoneNumberOrder withOrderedPhoneNumbers(OrderedPhoneNumber... orderedPhoneNumbers)
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
NOTE: This method appends the values to the existing list (if any). Use
setOrderedPhoneNumbers(java.util.Collection)
or withOrderedPhoneNumbers(java.util.Collection)
if you want to override the existing values.
orderedPhoneNumbers
- The ordered phone number details, such as the phone number in E.164 format and the phone number status.public PhoneNumberOrder withOrderedPhoneNumbers(Collection<OrderedPhoneNumber> orderedPhoneNumbers)
The ordered phone number details, such as the phone number in E.164 format and the phone number status.
orderedPhoneNumbers
- The ordered phone number details, such as the phone number in E.164 format and the phone number status.public void setCreatedTimestamp(Date createdTimestamp)
The phone number order creation time stamp, in ISO 8601 format.
createdTimestamp
- The phone number order creation time stamp, in ISO 8601 format.public Date getCreatedTimestamp()
The phone number order creation time stamp, in ISO 8601 format.
public PhoneNumberOrder withCreatedTimestamp(Date createdTimestamp)
The phone number order creation time stamp, in ISO 8601 format.
createdTimestamp
- The phone number order creation time stamp, in ISO 8601 format.public void setUpdatedTimestamp(Date updatedTimestamp)
The updated phone number order time stamp, in ISO 8601 format.
updatedTimestamp
- The updated phone number order time stamp, in ISO 8601 format.public Date getUpdatedTimestamp()
The updated phone number order time stamp, in ISO 8601 format.
public PhoneNumberOrder withUpdatedTimestamp(Date updatedTimestamp)
The updated phone number order time stamp, in ISO 8601 format.
updatedTimestamp
- The updated phone number order time stamp, in ISO 8601 format.public String toString()
toString
in class Object
Object.toString()
public PhoneNumberOrder clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.