@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTrainingDatasetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListTrainingDatasetsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTrainingDatasetsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token value retrieved from a previous call to access the next page of results.
|
List<TrainingDatasetSummary> |
getTrainingDatasets()
The training datasets that match the request.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
|
void |
setTrainingDatasets(Collection<TrainingDatasetSummary> trainingDatasets)
The training datasets that match the request.
|
String |
toString()
Returns a string representation of this object.
|
ListTrainingDatasetsResult |
withNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
|
ListTrainingDatasetsResult |
withTrainingDatasets(Collection<TrainingDatasetSummary> trainingDatasets)
The training datasets that match the request.
|
ListTrainingDatasetsResult |
withTrainingDatasets(TrainingDatasetSummary... trainingDatasets)
The training datasets that match the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
nextToken - The token value retrieved from a previous call to access the next page of results.public String getNextToken()
The token value retrieved from a previous call to access the next page of results.
public ListTrainingDatasetsResult withNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
nextToken - The token value retrieved from a previous call to access the next page of results.public List<TrainingDatasetSummary> getTrainingDatasets()
The training datasets that match the request.
public void setTrainingDatasets(Collection<TrainingDatasetSummary> trainingDatasets)
The training datasets that match the request.
trainingDatasets - The training datasets that match the request.public ListTrainingDatasetsResult withTrainingDatasets(TrainingDatasetSummary... trainingDatasets)
The training datasets that match the request.
NOTE: This method appends the values to the existing list (if any). Use
setTrainingDatasets(java.util.Collection) or withTrainingDatasets(java.util.Collection) if you
want to override the existing values.
trainingDatasets - The training datasets that match the request.public ListTrainingDatasetsResult withTrainingDatasets(Collection<TrainingDatasetSummary> trainingDatasets)
The training datasets that match the request.
trainingDatasets - The training datasets that match the request.public String toString()
toString in class ObjectObject.toString()public ListTrainingDatasetsResult clone()