@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.
|
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. Use E.164 format.
phoneNumber
- The phone number to opt in. Use E.164 format.public String getPhoneNumber()
The phone number to opt in. Use E.164 format.
public OptInPhoneNumberRequest withPhoneNumber(String phoneNumber)
The phone number to opt in. Use E.164 format.
phoneNumber
- The phone number to opt in. Use E.164 format.public String toString()
toString
in class Object
Object.toString()
public OptInPhoneNumberRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.