@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDatasetGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDatasetGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListDatasetGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<DatasetGroupSummary> |
getDatasetGroups()
An array of objects that summarize each dataset group's properties.
|
String |
getNextToken()
If the response is truncated, Amazon Forecast returns this token.
|
int |
hashCode() |
void |
setDatasetGroups(Collection<DatasetGroupSummary> datasetGroups)
An array of objects that summarize each dataset group's properties.
|
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Forecast returns this token.
|
String |
toString()
Returns a string representation of this object.
|
ListDatasetGroupsResult |
withDatasetGroups(Collection<DatasetGroupSummary> datasetGroups)
An array of objects that summarize each dataset group's properties.
|
ListDatasetGroupsResult |
withDatasetGroups(DatasetGroupSummary... datasetGroups)
An array of objects that summarize each dataset group's properties.
|
ListDatasetGroupsResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Forecast returns this token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DatasetGroupSummary> getDatasetGroups()
An array of objects that summarize each dataset group's properties.
public void setDatasetGroups(Collection<DatasetGroupSummary> datasetGroups)
An array of objects that summarize each dataset group's properties.
datasetGroups
- An array of objects that summarize each dataset group's properties.public ListDatasetGroupsResult withDatasetGroups(DatasetGroupSummary... datasetGroups)
An array of objects that summarize each dataset group's properties.
NOTE: This method appends the values to the existing list (if any). Use
setDatasetGroups(java.util.Collection)
or withDatasetGroups(java.util.Collection)
if you want
to override the existing values.
datasetGroups
- An array of objects that summarize each dataset group's properties.public ListDatasetGroupsResult withDatasetGroups(Collection<DatasetGroupSummary> datasetGroups)
An array of objects that summarize each dataset group's properties.
datasetGroups
- An array of objects that summarize each dataset group's properties.public void setNextToken(String nextToken)
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
nextToken
- If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use
the token in the next request.public String getNextToken()
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
public ListDatasetGroupsResult withNextToken(String nextToken)
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
nextToken
- If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use
the token in the next request.public String toString()
toString
in class Object
Object.toString()
public ListDatasetGroupsResult clone()