Interface ListDatasetGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDatasetGroupsResponse.Builder,,ListDatasetGroupsResponse> ForecastResponse.Builder,SdkBuilder<ListDatasetGroupsResponse.Builder,,ListDatasetGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDatasetGroupsResponse
@Mutable
@NotThreadSafe
public static interface ListDatasetGroupsResponse.Builder
extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<ListDatasetGroupsResponse.Builder,ListDatasetGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondatasetGroups(Collection<DatasetGroupSummary> datasetGroups) An array of objects that summarize each dataset group's properties.datasetGroups(Consumer<DatasetGroupSummary.Builder>... datasetGroups) An array of objects that summarize each dataset group's properties.datasetGroups(DatasetGroupSummary... datasetGroups) An array of objects that summarize each dataset group's properties.If the response is truncated, Amazon Forecast returns this token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.forecast.model.ForecastResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 todatasetGroups(List<DatasetGroupSummary>).- 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:
-
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.
-