@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePhoneNumberRequestItem extends Object implements Serializable, Cloneable, StructuredPojo
The phone number ID, product type, or calling name fields to update, used with the BatchUpdatePhoneNumber and UpdatePhoneNumber actions.
| Constructor and Description |
|---|
UpdatePhoneNumberRequestItem() |
| Modifier and Type | Method and Description |
|---|---|
UpdatePhoneNumberRequestItem |
clone() |
boolean |
equals(Object obj) |
String |
getCallingName()
The outbound calling name to update.
|
String |
getPhoneNumberId()
The phone number ID to update.
|
String |
getProductType()
The product type to update.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCallingName(String callingName)
The outbound calling name to update.
|
void |
setPhoneNumberId(String phoneNumberId)
The phone number ID to update.
|
void |
setProductType(String productType)
The product type to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePhoneNumberRequestItem |
withCallingName(String callingName)
The outbound calling name to update.
|
UpdatePhoneNumberRequestItem |
withPhoneNumberId(String phoneNumberId)
The phone number ID to update.
|
UpdatePhoneNumberRequestItem |
withProductType(PhoneNumberProductType productType)
The product type to update.
|
UpdatePhoneNumberRequestItem |
withProductType(String productType)
The product type to update.
|
public void setPhoneNumberId(String phoneNumberId)
The phone number ID to update.
phoneNumberId - The phone number ID to update.public String getPhoneNumberId()
The phone number ID to update.
public UpdatePhoneNumberRequestItem withPhoneNumberId(String phoneNumberId)
The phone number ID to update.
phoneNumberId - The phone number ID to update.public void setProductType(String productType)
The product type to update.
productType - The product type to update.PhoneNumberProductTypepublic String getProductType()
The product type to update.
PhoneNumberProductTypepublic UpdatePhoneNumberRequestItem withProductType(String productType)
The product type to update.
productType - The product type to update.PhoneNumberProductTypepublic UpdatePhoneNumberRequestItem withProductType(PhoneNumberProductType productType)
The product type to update.
productType - The product type to update.PhoneNumberProductTypepublic void setCallingName(String callingName)
The outbound calling name to update.
callingName - The outbound calling name to update.public String getCallingName()
The outbound calling name to update.
public UpdatePhoneNumberRequestItem withCallingName(String callingName)
The outbound calling name to update.
callingName - The outbound calling name to update.public String toString()
toString in class ObjectObject.toString()public UpdatePhoneNumberRequestItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.