@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutOptedOutNumberRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutOptedOutNumberRequest() |
Modifier and Type | Method and Description |
---|---|
PutOptedOutNumberRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getOptedOutNumber()
The phone number to add to the OptOutList in E.164 format.
|
String |
getOptOutListName()
The OptOutListName or OptOutListArn to add the phone number to.
|
int |
hashCode() |
void |
setOptedOutNumber(String optedOutNumber)
The phone number to add to the OptOutList in E.164 format.
|
void |
setOptOutListName(String optOutListName)
The OptOutListName or OptOutListArn to add the phone number to.
|
String |
toString()
Returns a string representation of this object.
|
PutOptedOutNumberRequest |
withOptedOutNumber(String optedOutNumber)
The phone number to add to the OptOutList in E.164 format.
|
PutOptedOutNumberRequest |
withOptOutListName(String optOutListName)
The OptOutListName or OptOutListArn to add the phone number to.
|
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 setOptOutListName(String optOutListName)
The OptOutListName or OptOutListArn to add the phone number to.
optOutListName
- The OptOutListName or OptOutListArn to add the phone number to.public String getOptOutListName()
The OptOutListName or OptOutListArn to add the phone number to.
public PutOptedOutNumberRequest withOptOutListName(String optOutListName)
The OptOutListName or OptOutListArn to add the phone number to.
optOutListName
- The OptOutListName or OptOutListArn to add the phone number to.public void setOptedOutNumber(String optedOutNumber)
The phone number to add to the OptOutList in E.164 format.
optedOutNumber
- The phone number to add to the OptOutList in E.164 format.public String getOptedOutNumber()
The phone number to add to the OptOutList in E.164 format.
public PutOptedOutNumberRequest withOptedOutNumber(String optedOutNumber)
The phone number to add to the OptOutList in E.164 format.
optedOutNumber
- The phone number to add to the OptOutList in E.164 format.public String toString()
toString
in class Object
Object.toString()
public PutOptedOutNumberRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()