@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuppressedDestination extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains information about an email address that is on the suppression list for your account.
Constructor and Description |
---|
SuppressedDestination() |
Modifier and Type | Method and Description |
---|---|
SuppressedDestination |
clone() |
boolean |
equals(Object obj) |
SuppressedDestinationAttributes |
getAttributes()
An optional value that can contain additional information about the reasons that the address was added to the
suppression list for your account.
|
String |
getEmailAddress()
The email address that is 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 |
setAttributes(SuppressedDestinationAttributes attributes)
An optional value that can contain additional information about the reasons that the address was added to the
suppression list for your account.
|
void |
setEmailAddress(String emailAddress)
The email address that is 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.
|
SuppressedDestination |
withAttributes(SuppressedDestinationAttributes attributes)
An optional value that can contain additional information about the reasons that the address was added to the
suppression list for your account.
|
SuppressedDestination |
withEmailAddress(String emailAddress)
The email address that is on the suppression list for your account.
|
SuppressedDestination |
withLastUpdateTime(Date lastUpdateTime)
The date and time when the suppressed destination was last updated, shown in Unix time format.
|
SuppressedDestination |
withReason(String reason)
The reason that the address was added to the suppression list for your account.
|
SuppressedDestination |
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 is on the suppression list for your account.
emailAddress
- The email address that is on the suppression list for your account.public String getEmailAddress()
The email address that is on the suppression list for your account.
public SuppressedDestination withEmailAddress(String emailAddress)
The email address that is on the suppression list for your account.
emailAddress
- The email address that is 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 SuppressedDestination 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 SuppressedDestination 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 SuppressedDestination 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 void setAttributes(SuppressedDestinationAttributes attributes)
An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account.
attributes
- An optional value that can contain additional information about the reasons that the address was added to
the suppression list for your account.public SuppressedDestinationAttributes getAttributes()
An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account.
public SuppressedDestination withAttributes(SuppressedDestinationAttributes attributes)
An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account.
attributes
- An optional value that can contain additional information about the reasons that the address was added to
the suppression list for your account.public String toString()
toString
in class Object
Object.toString()
public SuppressedDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.