Interface ListDataSourcesResponse.Builder
-
- All Superinterfaces:
AppSyncResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>
,SdkBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListDataSourcesResponse
public static interface ListDataSourcesResponse.Builder extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDataSourcesResponse.Builder
dataSources(Collection<DataSource> dataSources)
TheDataSource
objects.ListDataSourcesResponse.Builder
dataSources(Consumer<DataSource.Builder>... dataSources)
TheDataSource
objects.ListDataSourcesResponse.Builder
dataSources(DataSource... dataSources)
TheDataSource
objects.ListDataSourcesResponse.Builder
nextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.-
Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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 Detail
-
dataSources
ListDataSourcesResponse.Builder dataSources(Collection<DataSource> dataSources)
The
DataSource
objects.- Parameters:
dataSources
- TheDataSource
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
ListDataSourcesResponse.Builder dataSources(DataSource... dataSources)
The
DataSource
objects.- Parameters:
dataSources
- TheDataSource
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
ListDataSourcesResponse.Builder dataSources(Consumer<DataSource.Builder>... dataSources)
The
This is a convenience method that creates an instance of theDataSource
objects.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 to#dataSources(List
.) - Parameters:
dataSources
- 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:
#dataSources(java.util.Collection
)
-
nextToken
ListDataSourcesResponse.Builder nextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
- Parameters:
nextToken
- An identifier to pass in the next request to this operation to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-