@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PhoneNumberOrder extends Object implements Serializable, Cloneable, StructuredPojo
The details of a phone number order created for Amazon Chime.
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 |
getPhoneNumberOrderId()
The phone number order ID.
|
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 |
setPhoneNumberOrderId(String phoneNumberOrderId)
The phone number order ID.
|
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 |
withPhoneNumberOrderId(String phoneNumberOrderId)
The phone number order ID.
|
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 phone number order ID.
phoneNumberOrderId
- The phone number order ID.public String getPhoneNumberOrderId()
The phone number order ID.
public PhoneNumberOrder withPhoneNumberOrderId(String phoneNumberOrderId)
The phone number order ID.
phoneNumberOrderId
- The phone number order ID.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 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.