@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetContactListResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetContactListResult() |
Modifier and Type | Method and Description |
---|---|
GetContactListResult |
clone() |
boolean |
equals(Object obj) |
String |
getContactListName()
The name of the contact list.
|
Date |
getCreatedTimestamp()
A timestamp noting when the contact list was created.
|
String |
getDescription()
A description of what the contact list is about.
|
Date |
getLastUpdatedTimestamp()
A timestamp noting the last time the contact list was updated.
|
List<Tag> |
getTags()
The tags associated with a contact list.
|
List<Topic> |
getTopics()
An interest group, theme, or label within a list.
|
int |
hashCode() |
void |
setContactListName(String contactListName)
The name of the contact list.
|
void |
setCreatedTimestamp(Date createdTimestamp)
A timestamp noting when the contact list was created.
|
void |
setDescription(String description)
A description of what the contact list is about.
|
void |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
A timestamp noting the last time the contact list was updated.
|
void |
setTags(Collection<Tag> tags)
The tags associated with a contact list.
|
void |
setTopics(Collection<Topic> topics)
An interest group, theme, or label within a list.
|
String |
toString()
Returns a string representation of this object.
|
GetContactListResult |
withContactListName(String contactListName)
The name of the contact list.
|
GetContactListResult |
withCreatedTimestamp(Date createdTimestamp)
A timestamp noting when the contact list was created.
|
GetContactListResult |
withDescription(String description)
A description of what the contact list is about.
|
GetContactListResult |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
A timestamp noting the last time the contact list was updated.
|
GetContactListResult |
withTags(Collection<Tag> tags)
The tags associated with a contact list.
|
GetContactListResult |
withTags(Tag... tags)
The tags associated with a contact list.
|
GetContactListResult |
withTopics(Collection<Topic> topics)
An interest group, theme, or label within a list.
|
GetContactListResult |
withTopics(Topic... topics)
An interest group, theme, or label within a list.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 GetContactListResult withContactListName(String contactListName)
The name of the contact list.
contactListName
- The name of the contact list.public List<Topic> getTopics()
An interest group, theme, or label within a list. A contact list can have multiple topics.
public void setTopics(Collection<Topic> topics)
An interest group, theme, or label within a list. A contact list can have multiple topics.
topics
- An interest group, theme, or label within a list. A contact list can have multiple topics.public GetContactListResult withTopics(Topic... topics)
An interest group, theme, or label within a list. A contact list can have multiple topics.
NOTE: This method appends the values to the existing list (if any). Use
setTopics(java.util.Collection)
or withTopics(java.util.Collection)
if you want to override the
existing values.
topics
- An interest group, theme, or label within a list. A contact list can have multiple topics.public GetContactListResult withTopics(Collection<Topic> topics)
An interest group, theme, or label within a list. A contact list can have multiple topics.
topics
- An interest group, theme, or label within a list. A contact list can have multiple topics.public void setDescription(String description)
A description of what the contact list is about.
description
- A description of what the contact list is about.public String getDescription()
A description of what the contact list is about.
public GetContactListResult withDescription(String description)
A description of what the contact list is about.
description
- A description of what the contact list is about.public void setCreatedTimestamp(Date createdTimestamp)
A timestamp noting when the contact list was created.
createdTimestamp
- A timestamp noting when the contact list was created.public Date getCreatedTimestamp()
A timestamp noting when the contact list was created.
public GetContactListResult withCreatedTimestamp(Date createdTimestamp)
A timestamp noting when the contact list was created.
createdTimestamp
- A timestamp noting when the contact list was created.public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
A timestamp noting the last time the contact list was updated.
lastUpdatedTimestamp
- A timestamp noting the last time the contact list was updated.public Date getLastUpdatedTimestamp()
A timestamp noting the last time the contact list was updated.
public GetContactListResult withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
A timestamp noting the last time the contact list was updated.
lastUpdatedTimestamp
- A timestamp noting the last time the contact list was updated.public List<Tag> getTags()
The tags associated with a contact list.
public void setTags(Collection<Tag> tags)
The tags associated with a contact list.
tags
- The tags associated with a contact list.public GetContactListResult withTags(Tag... tags)
The tags associated with a contact list.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags associated with a contact list.public GetContactListResult withTags(Collection<Tag> tags)
The tags associated with a contact list.
tags
- The tags associated with a contact list.public String toString()
toString
in class Object
Object.toString()
public GetContactListResult clone()