@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePhoneNumberRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdatePhoneNumberRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdatePhoneNumberRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCallingName()
The outbound calling name associated with the phone number.
|
String |
getPhoneNumberId()
The phone number ID.
|
String |
getProductType()
The product type.
|
int |
hashCode() |
void |
setCallingName(String callingName)
The outbound calling name associated with the phone number.
|
void |
setPhoneNumberId(String phoneNumberId)
The phone number ID.
|
void |
setProductType(String productType)
The product type.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePhoneNumberRequest |
withCallingName(String callingName)
The outbound calling name associated with the phone number.
|
UpdatePhoneNumberRequest |
withPhoneNumberId(String phoneNumberId)
The phone number ID.
|
UpdatePhoneNumberRequest |
withProductType(PhoneNumberProductType productType)
The product type.
|
UpdatePhoneNumberRequest |
withProductType(String productType)
The product type.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setPhoneNumberId(String phoneNumberId)
The phone number ID.
phoneNumberId - The phone number ID.public String getPhoneNumberId()
The phone number ID.
public UpdatePhoneNumberRequest withPhoneNumberId(String phoneNumberId)
The phone number ID.
phoneNumberId - The phone number ID.public void setProductType(String productType)
The product type.
productType - The product type.PhoneNumberProductTypepublic String getProductType()
The product type.
PhoneNumberProductTypepublic UpdatePhoneNumberRequest withProductType(String productType)
The product type.
productType - The product type.PhoneNumberProductTypepublic UpdatePhoneNumberRequest withProductType(PhoneNumberProductType productType)
The product type.
productType - The product type.PhoneNumberProductTypepublic void setCallingName(String callingName)
The outbound calling name associated with the phone number.
callingName - The outbound calling name associated with the phone number.public String getCallingName()
The outbound calling name associated with the phone number.
public UpdatePhoneNumberRequest withCallingName(String callingName)
The outbound calling name associated with the phone number.
callingName - The outbound calling name associated with the phone number.public String toString()
toString in class ObjectObject.toString()public UpdatePhoneNumberRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()