@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePhoneNumberRequestItem extends Object implements Serializable, Cloneable, StructuredPojo
The phone number ID and product type 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 |
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 |
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 |
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.