@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OptInPhoneNumberRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input for the OptInPhoneNumber action.
NOOP
Constructor and Description |
---|
OptInPhoneNumberRequest() |
Modifier and Type | Method and Description |
---|---|
OptInPhoneNumberRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPhoneNumber()
The phone number to opt in.
|
int |
hashCode() |
void |
setPhoneNumber(String phoneNumber)
The phone number to opt in.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
OptInPhoneNumberRequest |
withPhoneNumber(String phoneNumber)
The phone number to opt in.
|
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 setPhoneNumber(String phoneNumber)
The phone number to opt in.
phoneNumber
- The phone number to opt in.public String getPhoneNumber()
The phone number to opt in.
public OptInPhoneNumberRequest withPhoneNumber(String phoneNumber)
The phone number to opt in.
phoneNumber
- The phone number to opt in.public String toString()
toString
in class Object
Object.toString()
public OptInPhoneNumberRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.