Class CfnAutomatedReasoningPolicyVersionProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnAutomatedReasoningPolicyVersionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomatedReasoningPolicyVersionProps>
- Enclosing interface:
CfnAutomatedReasoningPolicyVersionProps
@Stability(Stable)
public static final class CfnAutomatedReasoningPolicyVersionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomatedReasoningPolicyVersionProps>
A builder for
CfnAutomatedReasoningPolicyVersionProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.lastUpdatedDefinitionHash
(String lastUpdatedDefinitionHash) Sets the value ofCfnAutomatedReasoningPolicyVersionProps.getLastUpdatedDefinitionHash()
Sets the value ofCfnAutomatedReasoningPolicyVersionProps.getPolicyArn()
Sets the value ofCfnAutomatedReasoningPolicyVersionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyArn
@Stability(Stable) public CfnAutomatedReasoningPolicyVersionProps.Builder policyArn(String policyArn) Sets the value ofCfnAutomatedReasoningPolicyVersionProps.getPolicyArn()
- Parameters:
policyArn
- The Amazon Resource Name (ARN) of the policy. This parameter is required.- Returns:
this
-
lastUpdatedDefinitionHash
@Stability(Stable) public CfnAutomatedReasoningPolicyVersionProps.Builder lastUpdatedDefinitionHash(String lastUpdatedDefinitionHash) Sets the value ofCfnAutomatedReasoningPolicyVersionProps.getLastUpdatedDefinitionHash()
- Parameters:
lastUpdatedDefinitionHash
- The hash of the policy definition that was last updated.- Returns:
this
-
tags
@Stability(Stable) public CfnAutomatedReasoningPolicyVersionProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnAutomatedReasoningPolicyVersionProps.getTags()
- Parameters:
tags
- The tags associated with the Automated Reasoning policy version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAutomatedReasoningPolicyVersionProps>
- Returns:
- a new instance of
CfnAutomatedReasoningPolicyVersionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-