Interface ListDataSourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>,SdkBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDataSourcesResponse
public static interface ListDataSourcesResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDataSourcesResponse.BuilderdataSourceSummaries(Collection<DataSourceSummary> dataSourceSummaries)Sets the value of the DataSourceSummaries property for this object.ListDataSourcesResponse.BuilderdataSourceSummaries(Consumer<DataSourceSummary.Builder>... dataSourceSummaries)Sets the value of the DataSourceSummaries property for this object.ListDataSourcesResponse.BuilderdataSourceSummaries(DataSourceSummary... dataSourceSummaries)Sets the value of the DataSourceSummaries property for this object.ListDataSourcesResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.-
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.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
-
dataSourceSummaries
ListDataSourcesResponse.Builder dataSourceSummaries(Collection<DataSourceSummary> dataSourceSummaries)
Sets the value of the DataSourceSummaries property for this object.- Parameters:
dataSourceSummaries- The new value for the DataSourceSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceSummaries
ListDataSourcesResponse.Builder dataSourceSummaries(DataSourceSummary... dataSourceSummaries)
Sets the value of the DataSourceSummaries property for this object.- Parameters:
dataSourceSummaries- The new value for the DataSourceSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceSummaries
ListDataSourcesResponse.Builder dataSourceSummaries(Consumer<DataSourceSummary.Builder>... dataSourceSummaries)
Sets the value of the DataSourceSummaries property for this object. This is a convenience method that creates an instance of theDataSourceSummary.Builderavoiding the need to create one manually viaDataSourceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dataSourceSummaries(List.) - Parameters:
dataSourceSummaries- a consumer that will call methods onDataSourceSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dataSourceSummaries(java.util.Collection)
-
nextToken
ListDataSourcesResponse.Builder nextToken(String nextToken)
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-