Interface GetDataAutomationLibraryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockDataAutomationResponse.Builder,Buildable,CopyableBuilder<GetDataAutomationLibraryResponse.Builder,,GetDataAutomationLibraryResponse> SdkBuilder<GetDataAutomationLibraryResponse.Builder,,GetDataAutomationLibraryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDataAutomationLibraryResponse
@Mutable
@NotThreadSafe
public static interface GetDataAutomationLibraryResponse.Builder
extends BedrockDataAutomationResponse.Builder, SdkPojo, CopyableBuilder<GetDataAutomationLibraryResponse.Builder,GetDataAutomationLibraryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlibrary(Consumer<DataAutomationLibrary.Builder> library) Sets the value of the Library property for this object.library(DataAutomationLibrary library) Sets the value of the Library property for this object.Methods inherited from interface software.amazon.awssdk.services.bedrockdataautomation.model.BedrockDataAutomationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
library
Sets the value of the Library property for this object.- Parameters:
library- The new value for the Library property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
library
default GetDataAutomationLibraryResponse.Builder library(Consumer<DataAutomationLibrary.Builder> library) Sets the value of the Library property for this object. This is a convenience method that creates an instance of theDataAutomationLibrary.Builderavoiding the need to create one manually viaDataAutomationLibrary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolibrary(DataAutomationLibrary).- Parameters:
library- a consumer that will call methods onDataAutomationLibrary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-