@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDataSetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDataSetsResult() |
Modifier and Type | Method and Description |
---|---|
ListDataSetsResult |
clone() |
boolean |
equals(Object obj) |
List<DataSetSummary> |
getDataSets()
The list of data sets, containing information including the creation time, the data set name, the data set
organization, the data set format, and the last time the data set was referenced or updated.
|
String |
getNextToken()
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to
retrieve the next set of items.
|
int |
hashCode() |
void |
setDataSets(Collection<DataSetSummary> dataSets)
The list of data sets, containing information including the creation time, the data set name, the data set
organization, the data set format, and the last time the data set was referenced or updated.
|
void |
setNextToken(String nextToken)
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to
retrieve the next set of items.
|
String |
toString()
Returns a string representation of this object.
|
ListDataSetsResult |
withDataSets(Collection<DataSetSummary> dataSets)
The list of data sets, containing information including the creation time, the data set name, the data set
organization, the data set format, and the last time the data set was referenced or updated.
|
ListDataSetsResult |
withDataSets(DataSetSummary... dataSets)
The list of data sets, containing information including the creation time, the data set name, the data set
organization, the data set format, and the last time the data set was referenced or updated.
|
ListDataSetsResult |
withNextToken(String nextToken)
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to
retrieve the next set of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DataSetSummary> getDataSets()
The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.
public void setDataSets(Collection<DataSetSummary> dataSets)
The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.
dataSets
- The list of data sets, containing information including the creation time, the data set name, the data set
organization, the data set format, and the last time the data set was referenced or updated.public ListDataSetsResult withDataSets(DataSetSummary... dataSets)
The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.
NOTE: This method appends the values to the existing list (if any). Use
setDataSets(java.util.Collection)
or withDataSets(java.util.Collection)
if you want to override
the existing values.
dataSets
- The list of data sets, containing information including the creation time, the data set name, the data set
organization, the data set format, and the last time the data set was referenced or updated.public ListDataSetsResult withDataSets(Collection<DataSetSummary> dataSets)
The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.
dataSets
- The list of data sets, containing information including the creation time, the data set name, the data set
organization, the data set format, and the last time the data set was referenced or updated.public void setNextToken(String nextToken)
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
nextToken
- If there are more items to return, this contains a token that is passed to a subsequent call to this
operation to retrieve the next set of items.public String getNextToken()
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
public ListDataSetsResult withNextToken(String nextToken)
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
nextToken
- If there are more items to return, this contains a token that is passed to a subsequent call to this
operation to retrieve the next set of items.public String toString()
toString
in class Object
Object.toString()
public ListDataSetsResult clone()