Class FlowVersionReference.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.FlowVersionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FlowVersionReference>
- Enclosing interface:
FlowVersionReference
@Stability(Stable)
public static final class FlowVersionReference.Builder
extends Object
implements software.amazon.jsii.Builder<FlowVersionReference>
A builder for
FlowVersionReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofFlowVersionReference.getFlowArn()
Sets the value ofFlowVersionReference.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flowArn
Sets the value ofFlowVersionReference.getFlowArn()
- Parameters:
flowArn
- The FlowArn of the FlowVersion resource. This parameter is required.- Returns:
this
-
version
Sets the value ofFlowVersionReference.getVersion()
- Parameters:
version
- The Version of the FlowVersion resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<FlowVersionReference>
- Returns:
- a new instance of
FlowVersionReference
- Throws:
NullPointerException
- if any required attribute was not provided
-