Class CfnCaseRulePropsMixin.HiddenCaseRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cases.CfnCaseRulePropsMixin.HiddenCaseRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCaseRulePropsMixin.HiddenCaseRuleProperty>
- Enclosing interface:
CfnCaseRulePropsMixin.HiddenCaseRuleProperty
@Stability(Stable)
public static final class CfnCaseRulePropsMixin.HiddenCaseRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCaseRulePropsMixin.HiddenCaseRuleProperty>
A builder for
CfnCaseRulePropsMixin.HiddenCaseRuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.conditions(List<? extends Object> conditions) Sets the value ofCfnCaseRulePropsMixin.HiddenCaseRuleProperty.getConditions()conditions(IResolvable conditions) Sets the value ofCfnCaseRulePropsMixin.HiddenCaseRuleProperty.getConditions()defaultValue(Boolean defaultValue) Sets the value ofCfnCaseRulePropsMixin.HiddenCaseRuleProperty.getDefaultValue()defaultValue(IResolvable defaultValue) Sets the value ofCfnCaseRulePropsMixin.HiddenCaseRuleProperty.getDefaultValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditions
@Stability(Stable) public CfnCaseRulePropsMixin.HiddenCaseRuleProperty.Builder conditions(IResolvable conditions) Sets the value ofCfnCaseRulePropsMixin.HiddenCaseRuleProperty.getConditions()- Parameters:
conditions- A list of conditions that determine field visibility.- Returns:
this
-
conditions
@Stability(Stable) public CfnCaseRulePropsMixin.HiddenCaseRuleProperty.Builder conditions(List<? extends Object> conditions) Sets the value ofCfnCaseRulePropsMixin.HiddenCaseRuleProperty.getConditions()- Parameters:
conditions- A list of conditions that determine field visibility.- Returns:
this
-
defaultValue
@Stability(Stable) public CfnCaseRulePropsMixin.HiddenCaseRuleProperty.Builder defaultValue(Boolean defaultValue) Sets the value ofCfnCaseRulePropsMixin.HiddenCaseRuleProperty.getDefaultValue()- Parameters:
defaultValue- Whether the field is hidden when no conditions match.- Returns:
this
-
defaultValue
@Stability(Stable) public CfnCaseRulePropsMixin.HiddenCaseRuleProperty.Builder defaultValue(IResolvable defaultValue) Sets the value ofCfnCaseRulePropsMixin.HiddenCaseRuleProperty.getDefaultValue()- Parameters:
defaultValue- Whether the field is hidden when no conditions match.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCaseRulePropsMixin.HiddenCaseRuleProperty>- Returns:
- a new instance of
CfnCaseRulePropsMixin.HiddenCaseRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-