@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDatasetContentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetDatasetContentResult () |
| Modifier and Type | Method and Description |
|---|---|
GetDatasetContentResult |
clone () |
boolean |
equals (Object obj) |
List<DatasetEntry> |
getEntries ()
A list of
DatasetEntry objects. |
DatasetContentStatus |
getStatus ()
The status of the dataset content.
|
Date |
getTimestamp ()
The time when the request was made.
|
int |
hashCode () |
void |
setEntries (Collection<DatasetEntry> entries)
A list of
DatasetEntry objects. |
void |
setStatus (DatasetContentStatus status)
The status of the dataset content.
|
void |
setTimestamp (Date timestamp)
The time when the request was made.
|
String |
toString ()
Returns a string representation of this object.
|
GetDatasetContentResult |
withEntries (Collection<DatasetEntry> entries)
A list of
DatasetEntry objects. |
GetDatasetContentResult |
withEntries (DatasetEntry... entries)
A list of
DatasetEntry objects. |
GetDatasetContentResult |
withStatus (DatasetContentStatus status)
The status of the dataset content.
|
GetDatasetContentResult |
withTimestamp (Date timestamp)
The time when the request was made.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata public GetDatasetContentResult()
public List<DatasetEntry> getEntries()
A list of DatasetEntry objects.
DatasetEntry objects.public void setEntries(Collection<DatasetEntry> entries)
A list of DatasetEntry objects.
entries - A list of DatasetEntry objects.public GetDatasetContentResult withEntries(DatasetEntry... entries)
A list of DatasetEntry objects.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection) or withEntries(java.util.Collection) if you want to override
the existing values.
entries - A list of DatasetEntry objects.public GetDatasetContentResult withEntries(Collection<DatasetEntry> entries)
A list of DatasetEntry objects.
entries - A list of DatasetEntry objects.public void setTimestamp(Date timestamp)
The time when the request was made.
timestamp - The time when the request was made.public Date getTimestamp()
The time when the request was made.
public GetDatasetContentResult withTimestamp(Date timestamp)
The time when the request was made.
timestamp - The time when the request was made.public void setStatus(DatasetContentStatus status)
The status of the dataset content.
status - The status of the dataset content.public DatasetContentStatus getStatus()
The status of the dataset content.
public GetDatasetContentResult withStatus(DatasetContentStatus status)
The status of the dataset content.
status - The status of the dataset content.public String toString()
toString in class Object Object.toString() public GetDatasetContentResult clone()