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