Class CfnAIAgent.OrConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnAIAgent.OrConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIAgent.OrConditionProperty>
- Enclosing interface:
CfnAIAgent.OrConditionProperty
@Stability(Stable)
public static final class CfnAIAgent.OrConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIAgent.OrConditionProperty>
A builder for
CfnAIAgent.OrConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionandConditions(List<? extends Object> andConditions) Sets the value ofCfnAIAgent.OrConditionProperty.getAndConditions()andConditions(IResolvable andConditions) Sets the value ofCfnAIAgent.OrConditionProperty.getAndConditions()build()Builds the configured instance.tagCondition(IResolvable tagCondition) Sets the value ofCfnAIAgent.OrConditionProperty.getTagCondition()tagCondition(CfnAIAgent.TagConditionProperty tagCondition) Sets the value ofCfnAIAgent.OrConditionProperty.getTagCondition()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
andConditions
@Stability(Stable) public CfnAIAgent.OrConditionProperty.Builder andConditions(IResolvable andConditions) Sets the value ofCfnAIAgent.OrConditionProperty.getAndConditions()- Parameters:
andConditions- the value to be set.- Returns:
this
-
andConditions
@Stability(Stable) public CfnAIAgent.OrConditionProperty.Builder andConditions(List<? extends Object> andConditions) Sets the value ofCfnAIAgent.OrConditionProperty.getAndConditions()- Parameters:
andConditions- the value to be set.- Returns:
this
-
tagCondition
@Stability(Stable) public CfnAIAgent.OrConditionProperty.Builder tagCondition(IResolvable tagCondition) Sets the value ofCfnAIAgent.OrConditionProperty.getTagCondition()- Parameters:
tagCondition- A leaf node condition which can be used to specify a tag condition.- Returns:
this
-
tagCondition
@Stability(Stable) public CfnAIAgent.OrConditionProperty.Builder tagCondition(CfnAIAgent.TagConditionProperty tagCondition) Sets the value ofCfnAIAgent.OrConditionProperty.getTagCondition()- Parameters:
tagCondition- A leaf node condition which can be used to specify a tag condition.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAIAgent.OrConditionProperty>- Returns:
- a new instance of
CfnAIAgent.OrConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-