Class CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty>
- Enclosing interface:
CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty
@Stability(Stable)
public static final class CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty>
A builder for
CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.getName()Sets the value ofCfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.getValues()values(IResolvable values) Sets the value ofCfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.Builder name(String name) Sets the value ofCfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.getName()- Parameters:
name- The name of a custom type defined in the policy. This parameter is required.- Returns:
this
-
values
@Stability(Stable) public CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.Builder values(IResolvable values) Sets the value ofCfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.getValues()- Parameters:
values- The possible values for a custom type defined in the policy. This parameter is required.- Returns:
this
-
values
@Stability(Stable) public CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.Builder values(List<? extends Object> values) Sets the value ofCfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.getValues()- Parameters:
values- The possible values for a custom type defined in the policy. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty.Builder description(String description) - Parameters:
description- A description of the custom type defined in the policy.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty>- Returns:
- a new instance of
CfnAutomatedReasoningPolicy.PolicyDefinitionTypeProperty - Throws:
NullPointerException- if any required attribute was not provided
-