Interface DenyWhen.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DenyWhen.Builder,,DenyWhen> SdkBuilder<DenyWhen.Builder,,DenyWhen> SdkPojo
- Enclosing class:
DenyWhen
@Mutable
@NotThreadSafe
public static interface DenyWhen.Builder
extends SdkPojo, CopyableBuilder<DenyWhen.Builder,DenyWhen>
-
Method Summary
Modifier and TypeMethodDescriptionallOf(Collection<Condition> allOf) The conditions, from 1 to 20.allOf(Consumer<Condition.Builder>... allOf) The conditions, from 1 to 20.The conditions, from 1 to 20.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
-
allOf
The conditions, from 1 to 20. All of them must be true for the rule to match.
- Parameters:
allOf- The conditions, from 1 to 20. All of them must be true for the rule to match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allOf
The conditions, from 1 to 20. All of them must be true for the rule to match.
- Parameters:
allOf- The conditions, from 1 to 20. All of them must be true for the rule to match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allOf
The conditions, from 1 to 20. All of them must be true for the rule to match.
This is a convenience method that creates an instance of theCondition.Builderavoiding the need to create one manually viaCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallOf(List<Condition>).- Parameters:
allOf- a consumer that will call methods onCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-