Interface AndRuleStatement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AndRuleStatement.Builder,,AndRuleStatement> SdkBuilder<AndRuleStatement.Builder,,AndRuleStatement> SdkPojo
- Enclosing class:
AndRuleStatement
@Mutable
@NotThreadSafe
public static interface AndRuleStatement.Builder
extends SdkPojo, CopyableBuilder<AndRuleStatement.Builder,AndRuleStatement>
-
Method Summary
Modifier and TypeMethodDescriptionmatchingRuleStatements(Collection<MatchingRuleStatement> matchingRuleStatements) Matching rule statements.matchingRuleStatements(Consumer<MatchingRuleStatement.Builder>... matchingRuleStatements) Matching rule statements.matchingRuleStatements(MatchingRuleStatement... matchingRuleStatements) Matching rule statements.scriptRuleStatements(Collection<ScriptRuleStatement> scriptRuleStatements) Script rule statements.scriptRuleStatements(Consumer<ScriptRuleStatement.Builder>... scriptRuleStatements) Script rule statements.scriptRuleStatements(ScriptRuleStatement... scriptRuleStatements) Script rule statements.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
-
matchingRuleStatements
AndRuleStatement.Builder matchingRuleStatements(Collection<MatchingRuleStatement> matchingRuleStatements) Matching rule statements.
- Parameters:
matchingRuleStatements- Matching rule statements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingRuleStatements
Matching rule statements.
- Parameters:
matchingRuleStatements- Matching rule statements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingRuleStatements
AndRuleStatement.Builder matchingRuleStatements(Consumer<MatchingRuleStatement.Builder>... matchingRuleStatements) Matching rule statements.
This is a convenience method that creates an instance of theMatchingRuleStatement.Builderavoiding the need to create one manually viaMatchingRuleStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatchingRuleStatements(List<MatchingRuleStatement>).- Parameters:
matchingRuleStatements- a consumer that will call methods onMatchingRuleStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scriptRuleStatements
Script rule statements.
- Parameters:
scriptRuleStatements- Script rule statements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptRuleStatements
Script rule statements.
- Parameters:
scriptRuleStatements- Script rule statements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptRuleStatements
AndRuleStatement.Builder scriptRuleStatements(Consumer<ScriptRuleStatement.Builder>... scriptRuleStatements) Script rule statements.
This is a convenience method that creates an instance of theScriptRuleStatement.Builderavoiding the need to create one manually viaScriptRuleStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscriptRuleStatements(List<ScriptRuleStatement>).- Parameters:
scriptRuleStatements- a consumer that will call methods onScriptRuleStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-