@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.PhoneNumberProductType
public String getProductType()
The product type to update.
PhoneNumberProductType
public UpdatePhoneNumberRequestItem withProductType(String productType)
The product type to update.
productType
- The product type to update.PhoneNumberProductType
public UpdatePhoneNumberRequestItem withProductType(PhoneNumberProductType productType)
The product type to update.
productType
- The product type to update.PhoneNumberProductType
public 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 Object
Object.toString()
public UpdatePhoneNumberRequestItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.