Interface UpdateFlowRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentRequest.Builder
,Buildable
,CopyableBuilder<UpdateFlowRequest.Builder,
,UpdateFlowRequest> SdkBuilder<UpdateFlowRequest.Builder,
,UpdateFlowRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateFlowRequest
@Mutable
@NotThreadSafe
public static interface UpdateFlowRequest.Builder
extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<UpdateFlowRequest.Builder,UpdateFlowRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncustomerEncryptionKeyArn
(String customerEncryptionKeyArn) The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.default UpdateFlowRequest.Builder
definition
(Consumer<FlowDefinition.Builder> definition) A definition of the nodes and the connections between the nodes in the flow.definition
(FlowDefinition definition) A definition of the nodes and the connections between the nodes in the flow.description
(String description) A description for the flow.executionRoleArn
(String executionRoleArn) The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow.flowIdentifier
(String flowIdentifier) The unique identifier of the flow.A name for the flow.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.Builder
build
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, sdkFieldNameToField, sdkFields
-
Method Details
-
customerEncryptionKeyArn
The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- Parameters:
customerEncryptionKeyArn
- The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
A definition of the nodes and the connections between the nodes in the flow.
- Parameters:
definition
- A definition of the nodes and the connections between the nodes in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
A definition of the nodes and the connections between the nodes in the flow.
This is a convenience method that creates an instance of theFlowDefinition.Builder
avoiding the need to create one manually viaFlowDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(FlowDefinition)
.- Parameters:
definition
- a consumer that will call methods onFlowDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description for the flow.
- Parameters:
description
- A description for the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- Parameters:
executionRoleArn
- The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowIdentifier
The unique identifier of the flow.
- Parameters:
flowIdentifier
- The unique identifier of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A name for the flow.
- Parameters:
name
- A name for the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateFlowRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFlowRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-