@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OptedOutNumberInformation extends Object implements Serializable, Cloneable, StructuredPojo
The information for an opted out number in an Amazon Web Services account.
| Constructor and Description |
|---|
OptedOutNumberInformation() |
| Modifier and Type | Method and Description |
|---|---|
OptedOutNumberInformation |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEndUserOptedOut()
This is set to true if it was the end recipient that opted out.
|
String |
getOptedOutNumber()
The phone number that is opted out.
|
Date |
getOptedOutTimestamp()
The time that the op tout occurred, in UNIX epoch time format.
|
int |
hashCode() |
Boolean |
isEndUserOptedOut()
This is set to true if it was the end recipient that opted out.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEndUserOptedOut(Boolean endUserOptedOut)
This is set to true if it was the end recipient that opted out.
|
void |
setOptedOutNumber(String optedOutNumber)
The phone number that is opted out.
|
void |
setOptedOutTimestamp(Date optedOutTimestamp)
The time that the op tout occurred, in UNIX epoch time format.
|
String |
toString()
Returns a string representation of this object.
|
OptedOutNumberInformation |
withEndUserOptedOut(Boolean endUserOptedOut)
This is set to true if it was the end recipient that opted out.
|
OptedOutNumberInformation |
withOptedOutNumber(String optedOutNumber)
The phone number that is opted out.
|
OptedOutNumberInformation |
withOptedOutTimestamp(Date optedOutTimestamp)
The time that the op tout occurred, in UNIX epoch time format.
|
public void setOptedOutNumber(String optedOutNumber)
The phone number that is opted out.
optedOutNumber - The phone number that is opted out.public String getOptedOutNumber()
The phone number that is opted out.
public OptedOutNumberInformation withOptedOutNumber(String optedOutNumber)
The phone number that is opted out.
optedOutNumber - The phone number that is opted out.public void setOptedOutTimestamp(Date optedOutTimestamp)
The time that the op tout occurred, in UNIX epoch time format.
optedOutTimestamp - The time that the op tout occurred, in UNIX epoch time
format.public Date getOptedOutTimestamp()
The time that the op tout occurred, in UNIX epoch time format.
public OptedOutNumberInformation withOptedOutTimestamp(Date optedOutTimestamp)
The time that the op tout occurred, in UNIX epoch time format.
optedOutTimestamp - The time that the op tout occurred, in UNIX epoch time
format.public void setEndUserOptedOut(Boolean endUserOptedOut)
This is set to true if it was the end recipient that opted out.
endUserOptedOut - This is set to true if it was the end recipient that opted out.public Boolean getEndUserOptedOut()
This is set to true if it was the end recipient that opted out.
public OptedOutNumberInformation withEndUserOptedOut(Boolean endUserOptedOut)
This is set to true if it was the end recipient that opted out.
endUserOptedOut - This is set to true if it was the end recipient that opted out.public Boolean isEndUserOptedOut()
This is set to true if it was the end recipient that opted out.
public String toString()
toString in class ObjectObject.toString()public OptedOutNumberInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.