Interface CreateFlowResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<CreateFlowResponse.Builder,,CreateFlowResponse> SdkBuilder<CreateFlowResponse.Builder,,CreateFlowResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateFlowResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the flow.The time at which the flow was created.customerEncryptionKeyArn(String customerEncryptionKeyArn) The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.default CreateFlowResponse.Builderdefinition(Consumer<FlowDefinition.Builder> definition) A definition of the nodes and connections between nodes in the flow.definition(FlowDefinition definition) A definition of the nodes and connections between nodes in the flow.description(String description) The description of the flow.executionRoleArn(String executionRoleArn) The Amazon Resource Name (ARN) of the service role with permissions to create a flow.The unique identifier of the flow.The name of the flow.The status of the flow.status(FlowStatus status) The status of the flow.The time at which the flow was last updated.The version of the flow.Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.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
-
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
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
The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.
- Parameters:
customerEncryptionKeyArn- The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
A definition of the nodes and connections between nodes in the flow.
- Parameters:
definition- A definition of the nodes and connections between 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 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:
-
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
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
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
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
The status of the flow. When you submit this request, the status will be
NotPrepared. If creation fails, the status becomesFailed.- Parameters:
status- The status of the flow. When you submit this request, the status will beNotPrepared. If creation fails, the status becomesFailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the flow. When you submit this request, the status will be
NotPrepared. If creation fails, the status becomesFailed.- Parameters:
status- The status of the flow. When you submit this request, the status will beNotPrepared. If creation fails, the status becomesFailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The version of the flow. When you create a flow, the version created is the
DRAFTversion.- Parameters:
version- The version of the flow. When you create a flow, the version created is theDRAFTversion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-