Interface GetFlowVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<GetFlowVersionResponse.Builder,GetFlowVersionResponse>,SdkBuilder<GetFlowVersionResponse.Builder,GetFlowVersionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetFlowVersionResponse
public static interface GetFlowVersionResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<GetFlowVersionResponse.Builder,GetFlowVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetFlowVersionResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the flow.GetFlowVersionResponse.BuildercreatedAt(Instant createdAt)The time at which the flow was created.GetFlowVersionResponse.BuildercustomerEncryptionKeyArn(String customerEncryptionKeyArn)The Amazon Resource Name (ARN) of the KMS key that the version of the flow is encrypted with.default GetFlowVersionResponse.Builderdefinition(Consumer<FlowDefinition.Builder> definition)The definition of the nodes and connections between nodes in the flow.GetFlowVersionResponse.Builderdefinition(FlowDefinition definition)The definition of the nodes and connections between nodes in the flow.GetFlowVersionResponse.Builderdescription(String description)The description of the flow.GetFlowVersionResponse.BuilderexecutionRoleArn(String executionRoleArn)The Amazon Resource Name (ARN) of the service role with permissions to create a flow.GetFlowVersionResponse.Builderid(String id)The unique identifier of the flow.GetFlowVersionResponse.Buildername(String name)The name of the version.GetFlowVersionResponse.Builderstatus(String status)The status of the flow.GetFlowVersionResponse.Builderstatus(FlowStatus status)The status of the flow.GetFlowVersionResponse.Builderversion(String version)The version of the flow for which information was retrieved.-
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
GetFlowVersionResponse.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
GetFlowVersionResponse.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
GetFlowVersionResponse.Builder customerEncryptionKeyArn(String customerEncryptionKeyArn)
The Amazon Resource Name (ARN) of the KMS key that the version of the flow is encrypted with.
- Parameters:
customerEncryptionKeyArn- The Amazon Resource Name (ARN) of the KMS key that the version of the flow is encrypted with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
GetFlowVersionResponse.Builder definition(FlowDefinition definition)
The definition of the nodes and connections between nodes in the flow.
- Parameters:
definition- The 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
default GetFlowVersionResponse.Builder definition(Consumer<FlowDefinition.Builder> definition)
The 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:
definition(FlowDefinition)
-
description
GetFlowVersionResponse.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
GetFlowVersionResponse.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
GetFlowVersionResponse.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
GetFlowVersionResponse.Builder name(String name)
The name of the version.
- Parameters:
name- The name of the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetFlowVersionResponse.Builder status(String status)
The status of the flow.
- Parameters:
status- The status of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowStatus,FlowStatus
-
status
GetFlowVersionResponse.Builder status(FlowStatus status)
The status of the flow.
- Parameters:
status- The status of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowStatus,FlowStatus
-
version
GetFlowVersionResponse.Builder version(String version)
The version of the flow for which information was retrieved.
- Parameters:
version- The version of the flow for which information was retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-