@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Watchlist extends Object implements Serializable, Cloneable, StructuredPojo
Contains all the information about a watchlist.
Constructor and Description |
---|
Watchlist() |
Modifier and Type | Method and Description |
---|---|
Watchlist |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The timestamp of when the watchlist was created.
|
Boolean |
getDefaultWatchlist()
Whether the specified watchlist is the default watchlist of a domain.
|
String |
getDescription()
The description of the watchlist.
|
String |
getDomainId()
The identifier of the domain that contains the watchlist.
|
String |
getName()
The name for the watchlist.
|
Date |
getUpdatedAt()
The timestamp of when the watchlist was updated.
|
String |
getWatchlistId()
The identifier of the watchlist.
|
int |
hashCode() |
Boolean |
isDefaultWatchlist()
Whether the specified watchlist is the default watchlist of a domain.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The timestamp of when the watchlist was created.
|
void |
setDefaultWatchlist(Boolean defaultWatchlist)
Whether the specified watchlist is the default watchlist of a domain.
|
void |
setDescription(String description)
The description of the watchlist.
|
void |
setDomainId(String domainId)
The identifier of the domain that contains the watchlist.
|
void |
setName(String name)
The name for the watchlist.
|
void |
setUpdatedAt(Date updatedAt)
The timestamp of when the watchlist was updated.
|
void |
setWatchlistId(String watchlistId)
The identifier of the watchlist.
|
String |
toString()
Returns a string representation of this object.
|
Watchlist |
withCreatedAt(Date createdAt)
The timestamp of when the watchlist was created.
|
Watchlist |
withDefaultWatchlist(Boolean defaultWatchlist)
Whether the specified watchlist is the default watchlist of a domain.
|
Watchlist |
withDescription(String description)
The description of the watchlist.
|
Watchlist |
withDomainId(String domainId)
The identifier of the domain that contains the watchlist.
|
Watchlist |
withName(String name)
The name for the watchlist.
|
Watchlist |
withUpdatedAt(Date updatedAt)
The timestamp of when the watchlist was updated.
|
Watchlist |
withWatchlistId(String watchlistId)
The identifier of the watchlist.
|
public void setCreatedAt(Date createdAt)
The timestamp of when the watchlist was created.
createdAt
- The timestamp of when the watchlist was created.public Date getCreatedAt()
The timestamp of when the watchlist was created.
public Watchlist withCreatedAt(Date createdAt)
The timestamp of when the watchlist was created.
createdAt
- The timestamp of when the watchlist was created.public void setDefaultWatchlist(Boolean defaultWatchlist)
Whether the specified watchlist is the default watchlist of a domain.
defaultWatchlist
- Whether the specified watchlist is the default watchlist of a domain.public Boolean getDefaultWatchlist()
Whether the specified watchlist is the default watchlist of a domain.
public Watchlist withDefaultWatchlist(Boolean defaultWatchlist)
Whether the specified watchlist is the default watchlist of a domain.
defaultWatchlist
- Whether the specified watchlist is the default watchlist of a domain.public Boolean isDefaultWatchlist()
Whether the specified watchlist is the default watchlist of a domain.
public void setDescription(String description)
The description of the watchlist.
description
- The description of the watchlist.public String getDescription()
The description of the watchlist.
public Watchlist withDescription(String description)
The description of the watchlist.
description
- The description of the watchlist.public void setDomainId(String domainId)
The identifier of the domain that contains the watchlist.
domainId
- The identifier of the domain that contains the watchlist.public String getDomainId()
The identifier of the domain that contains the watchlist.
public Watchlist withDomainId(String domainId)
The identifier of the domain that contains the watchlist.
domainId
- The identifier of the domain that contains the watchlist.public void setName(String name)
The name for the watchlist.
name
- The name for the watchlist.public String getName()
The name for the watchlist.
public Watchlist withName(String name)
The name for the watchlist.
name
- The name for the watchlist.public void setUpdatedAt(Date updatedAt)
The timestamp of when the watchlist was updated.
updatedAt
- The timestamp of when the watchlist was updated.public Date getUpdatedAt()
The timestamp of when the watchlist was updated.
public Watchlist withUpdatedAt(Date updatedAt)
The timestamp of when the watchlist was updated.
updatedAt
- The timestamp of when the watchlist was updated.public void setWatchlistId(String watchlistId)
The identifier of the watchlist.
watchlistId
- The identifier of the watchlist.public String getWatchlistId()
The identifier of the watchlist.
public Watchlist withWatchlistId(String watchlistId)
The identifier of the watchlist.
watchlistId
- The identifier of the watchlist.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.