@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() |
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, copyBaseTo, 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()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.