Interface ListDataSourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>,QuickSightResponse.Builder,SdkBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDataSourcesResponse
public static interface ListDataSourcesResponse.Builder extends QuickSightResponse.Builder, SdkPojo, CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDataSourcesResponse.BuilderdataSources(Collection<DataSource> dataSources)A list of data sources.ListDataSourcesResponse.BuilderdataSources(Consumer<DataSource.Builder>... dataSources)A list of data sources.ListDataSourcesResponse.BuilderdataSources(DataSource... dataSources)A list of data sources.ListDataSourcesResponse.BuildernextToken(String nextToken)The token for the next set of results, or null if there are no more results.ListDataSourcesResponse.BuilderrequestId(String requestId)The Amazon Web Services request ID for this operation.ListDataSourcesResponse.Builderstatus(Integer status)The HTTP status of the request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightResponse.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 Detail
-
dataSources
ListDataSourcesResponse.Builder dataSources(Collection<DataSource> dataSources)
A list of data sources.
- Parameters:
dataSources- A list of data sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
ListDataSourcesResponse.Builder dataSources(DataSource... dataSources)
A list of data sources.
- Parameters:
dataSources- A list of data sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
ListDataSourcesResponse.Builder dataSources(Consumer<DataSource.Builder>... dataSources)
A list of data sources.
This is a convenience method that creates an instance of theDataSource.Builderavoiding the need to create one manually viaDataSource.builder().When the
Consumercompletes,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)
The token for the next set of results, or null if there are no more results.
- Parameters:
nextToken- The token for the next set of results, or null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestId
ListDataSourcesResponse.Builder requestId(String requestId)
The Amazon Web Services request ID for this operation.
- Parameters:
requestId- The Amazon Web Services request ID for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ListDataSourcesResponse.Builder status(Integer status)
The HTTP status of the request.
- Parameters:
status- The HTTP status of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-