@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWatchlistResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateWatchlistResult() |
Modifier and Type | Method and Description |
---|---|
CreateWatchlistResult |
clone() |
boolean |
equals(Object obj) |
Watchlist |
getWatchlist()
Information about the newly created watchlist.
|
int |
hashCode() |
void |
setWatchlist(Watchlist watchlist)
Information about the newly created watchlist.
|
String |
toString()
Returns a string representation of this object.
|
CreateWatchlistResult |
withWatchlist(Watchlist watchlist)
Information about the newly created watchlist.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setWatchlist(Watchlist watchlist)
Information about the newly created watchlist.
watchlist
- Information about the newly created watchlist.public Watchlist getWatchlist()
Information about the newly created watchlist.
public CreateWatchlistResult withWatchlist(Watchlist watchlist)
Information about the newly created watchlist.
watchlist
- Information about the newly created watchlist.public String toString()
toString
in class Object
Object.toString()
public CreateWatchlistResult clone()