@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReleasePhoneNumberRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ReleasePhoneNumberRequest() |
| Modifier and Type | Method and Description |
|---|---|
ReleasePhoneNumberRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getPhoneNumberId()
A unique identifier for the phone number.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
|
String |
toString()
Returns a string representation of this object.
|
ReleasePhoneNumberRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
ReleasePhoneNumberRequest |
withPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
|
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)
A unique identifier for the phone number.
phoneNumberId - A unique identifier for the phone number.public String getPhoneNumberId()
A unique identifier for the phone number.
public ReleasePhoneNumberRequest withPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
phoneNumberId - A unique identifier for the phone number.public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not
provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries
safe with idempotent APIs.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public ReleasePhoneNumberRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not
provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries
safe with idempotent APIs.public String toString()
toString in class ObjectObject.toString()public ReleasePhoneNumberRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()