Interface GetDataSourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>,SdkBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDataSourceResponse
public static interface GetDataSourceResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetDataSourceResponse.BuilderdataSource(Consumer<DataSource.Builder> dataSource)Sets the value of the DataSource property for this object.GetDataSourceResponse.BuilderdataSource(DataSource dataSource)Sets the value of the DataSource 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
-
dataSource
GetDataSourceResponse.Builder dataSource(DataSource dataSource)
Sets the value of the DataSource property for this object.- Parameters:
dataSource- The new value for the DataSource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
default GetDataSourceResponse.Builder dataSource(Consumer<DataSource.Builder> dataSource)
Sets the value of the DataSource property for this object. 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 todataSource(DataSource).- Parameters:
dataSource- 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:
dataSource(DataSource)
-
-