Interface InstanceRuleStatement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceRuleStatement.Builder,,InstanceRuleStatement> SdkBuilder<InstanceRuleStatement.Builder,,InstanceRuleStatement> SdkPojo
- Enclosing class:
InstanceRuleStatement
-
Method Summary
Modifier and TypeMethodDescriptiondefault InstanceRuleStatement.BuilderandRuleStatement(Consumer<AndRuleStatement.Builder> andRuleStatement) AND rule statement.andRuleStatement(AndRuleStatement andRuleStatement) AND rule statement.default InstanceRuleStatement.BuildermatchingRuleStatement(Consumer<MatchingRuleStatement.Builder> matchingRuleStatement) Matching rule statement.matchingRuleStatement(MatchingRuleStatement matchingRuleStatement) Matching rule statement.default InstanceRuleStatement.BuilderorRuleStatement(Consumer<OrRuleStatement.Builder> orRuleStatement) OR rule statement.orRuleStatement(OrRuleStatement orRuleStatement) OR rule statement.default InstanceRuleStatement.BuilderscriptRuleStatement(Consumer<ScriptRuleStatement.Builder> scriptRuleStatement) Script rule statement.scriptRuleStatement(ScriptRuleStatement scriptRuleStatement) Script rule statement.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
-
andRuleStatement
AND rule statement.
- Parameters:
andRuleStatement- AND rule statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andRuleStatement
default InstanceRuleStatement.Builder andRuleStatement(Consumer<AndRuleStatement.Builder> andRuleStatement) AND rule statement.
This is a convenience method that creates an instance of theAndRuleStatement.Builderavoiding the need to create one manually viaAndRuleStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toandRuleStatement(AndRuleStatement).- Parameters:
andRuleStatement- a consumer that will call methods onAndRuleStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
orRuleStatement
OR rule statement.
- Parameters:
orRuleStatement- OR rule statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orRuleStatement
default InstanceRuleStatement.Builder orRuleStatement(Consumer<OrRuleStatement.Builder> orRuleStatement) OR rule statement.
This is a convenience method that creates an instance of theOrRuleStatement.Builderavoiding the need to create one manually viaOrRuleStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorRuleStatement(OrRuleStatement).- Parameters:
orRuleStatement- a consumer that will call methods onOrRuleStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchingRuleStatement
Matching rule statement.
- Parameters:
matchingRuleStatement- Matching rule statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingRuleStatement
default InstanceRuleStatement.Builder matchingRuleStatement(Consumer<MatchingRuleStatement.Builder> matchingRuleStatement) Matching rule statement.
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 tomatchingRuleStatement(MatchingRuleStatement).- Parameters:
matchingRuleStatement- 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:
-
scriptRuleStatement
Script rule statement.
- Parameters:
scriptRuleStatement- Script rule statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptRuleStatement
default InstanceRuleStatement.Builder scriptRuleStatement(Consumer<ScriptRuleStatement.Builder> scriptRuleStatement) Script rule statement.
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 toscriptRuleStatement(ScriptRuleStatement).- Parameters:
scriptRuleStatement- 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:
-