@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuppressedDestination extends Object implements Serializable, Cloneable, StructuredPojo
An object containing information about the suppressed email destination.
| Constructor and Description |
|---|
SuppressedDestination() |
| Modifier and Type | Method and Description |
|---|---|
SuppressedDestination |
clone() |
boolean |
equals(Object obj) |
SuppressedDestinationAttributes |
getAttributes()
Optional value with information about the sources of the suppression. |
String |
getEmailAddress()
The suppressed email destination.
|
Date |
getLastUpdateTime()
The last time the suppressed destination was updated.
|
String |
getReason()
The reason for which the email destination is suppressed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttributes(SuppressedDestinationAttributes attributes)
Optional value with information about the sources of the suppression. |
void |
setEmailAddress(String emailAddress)
The suppressed email destination.
|
void |
setLastUpdateTime(Date lastUpdateTime)
The last time the suppressed destination was updated.
|
void |
setReason(String reason)
The reason for which the email destination is suppressed.
|
String |
toString()
Returns a string representation of this object.
|
SuppressedDestination |
withAttributes(SuppressedDestinationAttributes attributes)
Optional value with information about the sources of the suppression. |
SuppressedDestination |
withEmailAddress(String emailAddress)
The suppressed email destination.
|
SuppressedDestination |
withLastUpdateTime(Date lastUpdateTime)
The last time the suppressed destination was updated.
|
SuppressedDestination |
withReason(String reason)
The reason for which the email destination is suppressed.
|
SuppressedDestination |
withReason(SuppressionListReason reason)
The reason for which the email destination is suppressed.
|
public void setEmailAddress(String emailAddress)
The suppressed email destination.
emailAddress - The suppressed email destination.public String getEmailAddress()
The suppressed email destination.
public SuppressedDestination withEmailAddress(String emailAddress)
The suppressed email destination.
emailAddress - The suppressed email destination.public void setReason(String reason)
The reason for which the email destination is suppressed.
reason - The reason for which the email destination is suppressed.SuppressionListReasonpublic String getReason()
The reason for which the email destination is suppressed.
SuppressionListReasonpublic SuppressedDestination withReason(String reason)
The reason for which the email destination is suppressed.
reason - The reason for which the email destination is suppressed.SuppressionListReasonpublic SuppressedDestination withReason(SuppressionListReason reason)
The reason for which the email destination is suppressed.
reason - The reason for which the email destination is suppressed.SuppressionListReasonpublic void setLastUpdateTime(Date lastUpdateTime)
The last time the suppressed destination was updated.
lastUpdateTime - The last time the suppressed destination was updated.public Date getLastUpdateTime()
The last time the suppressed destination was updated.
public SuppressedDestination withLastUpdateTime(Date lastUpdateTime)
The last time the suppressed destination was updated.
lastUpdateTime - The last time the suppressed destination was updated.public void setAttributes(SuppressedDestinationAttributes attributes)
Optional value with information about the sources of the suppression.
attributes - Optional value with information about the sources of the suppression.public SuppressedDestinationAttributes getAttributes()
Optional value with information about the sources of the suppression.
Optional value with information about the sources of the suppression.public SuppressedDestination withAttributes(SuppressedDestinationAttributes attributes)
Optional value with information about the sources of the suppression.
attributes - Optional value with information about the sources of the suppression.public String toString()
toString in class ObjectObject.toString()public SuppressedDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.