Interface HiddenCaseRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HiddenCaseRule.Builder,,HiddenCaseRule> SdkBuilder<HiddenCaseRule.Builder,,HiddenCaseRule> SdkPojo
- Enclosing class:
HiddenCaseRule
@Mutable
@NotThreadSafe
public static interface HiddenCaseRule.Builder
extends SdkPojo, CopyableBuilder<HiddenCaseRule.Builder,HiddenCaseRule>
-
Method Summary
Modifier and TypeMethodDescriptionconditions(Collection<BooleanCondition> conditions) A list of conditions that determine field visibility.conditions(Consumer<BooleanCondition.Builder>... conditions) A list of conditions that determine field visibility.conditions(BooleanCondition... conditions) A list of conditions that determine field visibility.defaultValue(Boolean defaultValue) Whether the field is hidden when no conditions match.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
defaultValue
Whether the field is hidden when no conditions match.
- Parameters:
defaultValue- Whether the field is hidden when no conditions match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
A list of conditions that determine field visibility.
- Parameters:
conditions- A list of conditions that determine field visibility.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
A list of conditions that determine field visibility.
- Parameters:
conditions- A list of conditions that determine field visibility.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
A list of conditions that determine field visibility.
This is a convenience method that creates an instance of theBooleanCondition.Builderavoiding the need to create one manually viaBooleanCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditions(List<BooleanCondition>).- Parameters:
conditions- a consumer that will call methods onBooleanCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-