Interface ListDataAutomationLibrariesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockDataAutomationResponse.Builder,Buildable,CopyableBuilder<ListDataAutomationLibrariesResponse.Builder,,ListDataAutomationLibrariesResponse> SdkBuilder<ListDataAutomationLibrariesResponse.Builder,,ListDataAutomationLibrariesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDataAutomationLibrariesResponse
@Mutable
@NotThreadSafe
public static interface ListDataAutomationLibrariesResponse.Builder
extends BedrockDataAutomationResponse.Builder, SdkPojo, CopyableBuilder<ListDataAutomationLibrariesResponse.Builder,ListDataAutomationLibrariesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlibraries(Collection<DataAutomationLibrarySummary> libraries) Sets the value of the Libraries property for this object.libraries(Consumer<DataAutomationLibrarySummary.Builder>... libraries) Sets the value of the Libraries property for this object.libraries(DataAutomationLibrarySummary... libraries) Sets the value of the Libraries property for this object.Sets the value of the NextToken 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
-
libraries
ListDataAutomationLibrariesResponse.Builder libraries(Collection<DataAutomationLibrarySummary> libraries) Sets the value of the Libraries property for this object.- Parameters:
libraries- The new value for the Libraries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
libraries
Sets the value of the Libraries property for this object.- Parameters:
libraries- The new value for the Libraries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
libraries
ListDataAutomationLibrariesResponse.Builder libraries(Consumer<DataAutomationLibrarySummary.Builder>... libraries) Sets the value of the Libraries property for this object. This is a convenience method that creates an instance of theDataAutomationLibrarySummary.Builderavoiding the need to create one manually viaDataAutomationLibrarySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolibraries(List<DataAutomationLibrarySummary>).- Parameters:
libraries- a consumer that will call methods onDataAutomationLibrarySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-