@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListManagementOptions extends Object implements Serializable, Cloneable, StructuredPojo
An object used to specify a list or topic to which an email belongs, which will be used when a contact chooses to unsubscribe.
Constructor and Description |
---|
ListManagementOptions() |
Modifier and Type | Method and Description |
---|---|
ListManagementOptions |
clone() |
boolean |
equals(Object obj) |
String |
getContactListName()
The name of the contact list.
|
String |
getTopicName()
The name of the topic.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContactListName(String contactListName)
The name of the contact list.
|
void |
setTopicName(String topicName)
The name of the topic.
|
String |
toString()
Returns a string representation of this object.
|
ListManagementOptions |
withContactListName(String contactListName)
The name of the contact list.
|
ListManagementOptions |
withTopicName(String topicName)
The name of the topic.
|
public void setContactListName(String contactListName)
The name of the contact list.
contactListName
- The name of the contact list.public String getContactListName()
The name of the contact list.
public ListManagementOptions withContactListName(String contactListName)
The name of the contact list.
contactListName
- The name of the contact list.public void setTopicName(String topicName)
The name of the topic.
topicName
- The name of the topic.public String getTopicName()
The name of the topic.
public ListManagementOptions withTopicName(String topicName)
The name of the topic.
topicName
- The name of the topic.public String toString()
toString
in class Object
Object.toString()
public ListManagementOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.