Interface ListDatasetGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDatasetGroupsResponse.Builder,ListDatasetGroupsResponse>,ForecastResponse.Builder,SdkBuilder<ListDatasetGroupsResponse.Builder,ListDatasetGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDatasetGroupsResponse
public static interface ListDatasetGroupsResponse.Builder extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<ListDatasetGroupsResponse.Builder,ListDatasetGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDatasetGroupsResponse.BuilderdatasetGroups(Collection<DatasetGroupSummary> datasetGroups)An array of objects that summarize each dataset group's properties.ListDatasetGroupsResponse.BuilderdatasetGroups(Consumer<DatasetGroupSummary.Builder>... datasetGroups)An array of objects that summarize each dataset group's properties.ListDatasetGroupsResponse.BuilderdatasetGroups(DatasetGroupSummary... datasetGroups)An array of objects that summarize each dataset group's properties.ListDatasetGroupsResponse.BuildernextToken(String nextToken)If the response is truncated, Amazon Forecast returns this token.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.forecast.model.ForecastResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
datasetGroups
ListDatasetGroupsResponse.Builder datasetGroups(Collection<DatasetGroupSummary> datasetGroups)
An array of objects that summarize each dataset group's properties.
- Parameters:
datasetGroups- An array of objects that summarize each dataset group's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetGroups
ListDatasetGroupsResponse.Builder datasetGroups(DatasetGroupSummary... datasetGroups)
An array of objects that summarize each dataset group's properties.
- Parameters:
datasetGroups- An array of objects that summarize each dataset group's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetGroups
ListDatasetGroupsResponse.Builder datasetGroups(Consumer<DatasetGroupSummary.Builder>... datasetGroups)
An array of objects that summarize each dataset group's properties.
This is a convenience method that creates an instance of theDatasetGroupSummary.Builderavoiding the need to create one manually viaDatasetGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#datasetGroups(List.) - Parameters:
datasetGroups- a consumer that will call methods onDatasetGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#datasetGroups(java.util.Collection)
-
nextToken
ListDatasetGroupsResponse.Builder nextToken(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-