Interface UpdateFlowResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<UpdateFlowResponse.Builder,UpdateFlowResponse>,SdkBuilder<UpdateFlowResponse.Builder,UpdateFlowResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateFlowResponse
public static interface UpdateFlowResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<UpdateFlowResponse.Builder,UpdateFlowResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateFlowResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the flow.UpdateFlowResponse.BuildercreatedAt(Instant createdAt)The time at which the flow was created.UpdateFlowResponse.BuildercustomerEncryptionKeyArn(String customerEncryptionKeyArn)The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.default UpdateFlowResponse.Builderdefinition(Consumer<FlowDefinition.Builder> definition)A definition of the nodes and the connections between nodes in the flow.UpdateFlowResponse.Builderdefinition(FlowDefinition definition)A definition of the nodes and the connections between nodes in the flow.UpdateFlowResponse.Builderdescription(String description)The description of the flow.UpdateFlowResponse.BuilderexecutionRoleArn(String executionRoleArn)The Amazon Resource Name (ARN) of the service role with permissions to create a flow.UpdateFlowResponse.Builderid(String id)The unique identifier of the flow.UpdateFlowResponse.Buildername(String name)The name of the flow.UpdateFlowResponse.Builderstatus(String status)The status of the flow.UpdateFlowResponse.Builderstatus(FlowStatus status)The status of the flow.UpdateFlowResponse.BuilderupdatedAt(Instant updatedAt)The time at which the flow was last updated.UpdateFlowResponse.Builderversion(String version)The version of the flow.-
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
-
arn
UpdateFlowResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the flow.
- Parameters:
arn- The Amazon Resource Name (ARN) of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
UpdateFlowResponse.Builder createdAt(Instant createdAt)
The time at which the flow was created.
- Parameters:
createdAt- The time at which the flow was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerEncryptionKeyArn
UpdateFlowResponse.Builder customerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.
- Parameters:
customerEncryptionKeyArn- The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
UpdateFlowResponse.Builder definition(FlowDefinition definition)
A definition of the nodes and the connections between nodes in the flow.
- Parameters:
definition- A definition of the nodes and the connections between nodes in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default UpdateFlowResponse.Builder definition(Consumer<FlowDefinition.Builder> definition)
A definition of the nodes and the connections between nodes in the flow.
This is a convenience method that creates an instance of theFlowDefinition.Builderavoiding the need to create one manually viaFlowDefinition.builder().When the
Consumercompletes,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:
definition(FlowDefinition)
-
description
UpdateFlowResponse.Builder description(String description)
The description of the flow.
- Parameters:
description- The description of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
UpdateFlowResponse.Builder executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the service role with permissions to create 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 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.
-
id
UpdateFlowResponse.Builder id(String id)
The unique identifier of the flow.
- Parameters:
id- The unique identifier of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateFlowResponse.Builder name(String name)
The name of the flow.
- Parameters:
name- The name of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
UpdateFlowResponse.Builder status(String status)
The status of the flow. When you submit this request, the status will be
NotPrepared. If updating fails, the status becomesFailed.- Parameters:
status- The status of the flow. When you submit this request, the status will beNotPrepared. If updating fails, the status becomesFailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowStatus,FlowStatus
-
status
UpdateFlowResponse.Builder status(FlowStatus status)
The status of the flow. When you submit this request, the status will be
NotPrepared. If updating fails, the status becomesFailed.- Parameters:
status- The status of the flow. When you submit this request, the status will beNotPrepared. If updating fails, the status becomesFailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowStatus,FlowStatus
-
updatedAt
UpdateFlowResponse.Builder updatedAt(Instant updatedAt)
The time at which the flow was last updated.
- Parameters:
updatedAt- The time at which the flow was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
UpdateFlowResponse.Builder version(String version)
The version of the flow. When you update a flow, the version updated is the
DRAFTversion.- Parameters:
version- The version of the flow. When you update a flow, the version updated is theDRAFTversion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-