@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuppressedDestinationSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary that describes the suppressed email address.
Constructor and Description |
---|
SuppressedDestinationSummary() |
Modifier and Type | Method and Description |
---|---|
SuppressedDestinationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getEmailAddress()
The email address that's on the suppression list for your account.
|
Date |
getLastUpdateTime()
The date and time when the suppressed destination was last updated, shown in Unix time format.
|
String |
getReason()
The reason that the address was added to the suppression list for your account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEmailAddress(String emailAddress)
The email address that's on the suppression list for your account.
|
void |
setLastUpdateTime(Date lastUpdateTime)
The date and time when the suppressed destination was last updated, shown in Unix time format.
|
void |
setReason(String reason)
The reason that the address was added to the suppression list for your account.
|
String |
toString()
Returns a string representation of this object.
|
SuppressedDestinationSummary |
withEmailAddress(String emailAddress)
The email address that's on the suppression list for your account.
|
SuppressedDestinationSummary |
withLastUpdateTime(Date lastUpdateTime)
The date and time when the suppressed destination was last updated, shown in Unix time format.
|
SuppressedDestinationSummary |
withReason(String reason)
The reason that the address was added to the suppression list for your account.
|
SuppressedDestinationSummary |
withReason(SuppressionListReason reason)
The reason that the address was added to the suppression list for your account.
|
public void setEmailAddress(String emailAddress)
The email address that's on the suppression list for your account.
emailAddress
- The email address that's on the suppression list for your account.public String getEmailAddress()
The email address that's on the suppression list for your account.
public SuppressedDestinationSummary withEmailAddress(String emailAddress)
The email address that's on the suppression list for your account.
emailAddress
- The email address that's on the suppression list for your account.public void setReason(String reason)
The reason that the address was added to the suppression list for your account.
reason
- The reason that the address was added to the suppression list for your account.SuppressionListReason
public String getReason()
The reason that the address was added to the suppression list for your account.
SuppressionListReason
public SuppressedDestinationSummary withReason(String reason)
The reason that the address was added to the suppression list for your account.
reason
- The reason that the address was added to the suppression list for your account.SuppressionListReason
public SuppressedDestinationSummary withReason(SuppressionListReason reason)
The reason that the address was added to the suppression list for your account.
reason
- The reason that the address was added to the suppression list for your account.SuppressionListReason
public void setLastUpdateTime(Date lastUpdateTime)
The date and time when the suppressed destination was last updated, shown in Unix time format.
lastUpdateTime
- The date and time when the suppressed destination was last updated, shown in Unix time format.public Date getLastUpdateTime()
The date and time when the suppressed destination was last updated, shown in Unix time format.
public SuppressedDestinationSummary withLastUpdateTime(Date lastUpdateTime)
The date and time when the suppressed destination was last updated, shown in Unix time format.
lastUpdateTime
- The date and time when the suppressed destination was last updated, shown in Unix time format.public String toString()
toString
in class Object
Object.toString()
public SuppressedDestinationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.