@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 |
getName()
Specifies the updated name assigned to one or more phone numbers.
|
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 |
setName(String name)
Specifies the updated name assigned to one or more phone numbers.
|
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 |
withName(String name)
Specifies the updated name assigned to one or more phone numbers.
|
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, withSdkRequestTimeout
public 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.PhoneNumberProductType
public String getProductType()
The product type.
PhoneNumberProductType
public UpdatePhoneNumberRequest withProductType(String productType)
The product type.
productType
- The product type.PhoneNumberProductType
public UpdatePhoneNumberRequest withProductType(PhoneNumberProductType productType)
The product type.
productType
- The product type.PhoneNumberProductType
public 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 void setName(String name)
Specifies the updated name assigned to one or more phone numbers.
name
- Specifies the updated name assigned to one or more phone numbers.public String getName()
Specifies the updated name assigned to one or more phone numbers.
public UpdatePhoneNumberRequest withName(String name)
Specifies the updated name assigned to one or more phone numbers.
name
- Specifies the updated name assigned to one or more phone numbers.public String toString()
toString
in class Object
Object.toString()
public UpdatePhoneNumberRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()