Interface DescribeDataSourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDataSourcesResponse.Builder,
,DescribeDataSourcesResponse> MachineLearningResponse.Builder
,SdkBuilder<DescribeDataSourcesResponse.Builder,
,DescribeDataSourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDataSourcesResponse
public static interface DescribeDataSourcesResponse.Builder
extends MachineLearningResponse.Builder, SdkPojo, CopyableBuilder<DescribeDataSourcesResponse.Builder,DescribeDataSourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn ID of the next page in the paginated results that indicates at least one more page follows.results
(Collection<DataSource> results) A list ofDataSource
that meet the search criteria.results
(Consumer<DataSource.Builder>... results) A list ofDataSource
that meet the search criteria.results
(DataSource... results) A list ofDataSource
that meet the search criteria.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.machinelearning.model.MachineLearningResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
results
A list of
DataSource
that meet the search criteria.- Parameters:
results
- A list ofDataSource
that meet the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
A list of
DataSource
that meet the search criteria.- Parameters:
results
- A list ofDataSource
that meet the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
A list of
This is a convenience method that creates an instance of theDataSource
that meet the search criteria.DataSource.Builder
avoiding the need to create one manually viaDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresults(List<DataSource>)
.- Parameters:
results
- a consumer that will call methods onDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An ID of the next page in the paginated results that indicates at least one more page follows.
- Parameters:
nextToken
- An ID of the next page in the paginated results that indicates at least one more page follows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-