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