@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuppressionListDestination extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains details about the action of suppression list.
| Constructor and Description |
|---|
SuppressionListDestination() |
| Modifier and Type | Method and Description |
|---|---|
SuppressionListDestination |
clone() |
boolean |
equals(Object obj) |
String |
getSuppressionListImportAction()
The type of action to perform on the address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSuppressionListImportAction(String suppressionListImportAction)
The type of action to perform on the address.
|
String |
toString()
Returns a string representation of this object.
|
SuppressionListDestination |
withSuppressionListImportAction(String suppressionListImportAction)
The type of action to perform on the address.
|
SuppressionListDestination |
withSuppressionListImportAction(SuppressionListImportAction suppressionListImportAction)
The type of action to perform on the address.
|
public void setSuppressionListImportAction(String suppressionListImportAction)
The type of action to perform on the address. The following are possible values:
PUT: add the addresses to the suppression list. If the record already exists, it will override it with the new value.
DELETE: remove the addresses from the suppression list.
suppressionListImportAction - The type of action to perform on the address. The following are possible values:
PUT: add the addresses to the suppression list. If the record already exists, it will override it with the new value.
DELETE: remove the addresses from the suppression list.
SuppressionListImportActionpublic String getSuppressionListImportAction()
The type of action to perform on the address. The following are possible values:
PUT: add the addresses to the suppression list. If the record already exists, it will override it with the new value.
DELETE: remove the addresses from the suppression list.
PUT: add the addresses to the suppression list. If the record already exists, it will override it with the new value.
DELETE: remove the addresses from the suppression list.
SuppressionListImportActionpublic SuppressionListDestination withSuppressionListImportAction(String suppressionListImportAction)
The type of action to perform on the address. The following are possible values:
PUT: add the addresses to the suppression list. If the record already exists, it will override it with the new value.
DELETE: remove the addresses from the suppression list.
suppressionListImportAction - The type of action to perform on the address. The following are possible values:
PUT: add the addresses to the suppression list. If the record already exists, it will override it with the new value.
DELETE: remove the addresses from the suppression list.
SuppressionListImportActionpublic SuppressionListDestination withSuppressionListImportAction(SuppressionListImportAction suppressionListImportAction)
The type of action to perform on the address. The following are possible values:
PUT: add the addresses to the suppression list. If the record already exists, it will override it with the new value.
DELETE: remove the addresses from the suppression list.
suppressionListImportAction - The type of action to perform on the address. The following are possible values:
PUT: add the addresses to the suppression list. If the record already exists, it will override it with the new value.
DELETE: remove the addresses from the suppression list.
SuppressionListImportActionpublic String toString()
toString in class ObjectObject.toString()public SuppressionListDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.