Interface OrRuleStatement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OrRuleStatement.Builder,,OrRuleStatement> SdkBuilder<OrRuleStatement.Builder,,OrRuleStatement> SdkPojo
- Enclosing class:
OrRuleStatement
@Mutable
@NotThreadSafe
public static interface OrRuleStatement.Builder
extends SdkPojo, CopyableBuilder<OrRuleStatement.Builder,OrRuleStatement>
-
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
OrRuleStatement.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
OrRuleStatement.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
OrRuleStatement.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:
-