Interface LicenseRuleStatement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LicenseRuleStatement.Builder,,LicenseRuleStatement> SdkBuilder<LicenseRuleStatement.Builder,,LicenseRuleStatement> SdkPojo
- Enclosing class:
LicenseRuleStatement
@Mutable
@NotThreadSafe
public static interface LicenseRuleStatement.Builder
extends SdkPojo, CopyableBuilder<LicenseRuleStatement.Builder,LicenseRuleStatement>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LicenseRuleStatement.BuilderandRuleStatement(Consumer<AndRuleStatement.Builder> andRuleStatement) AND rule statement.andRuleStatement(AndRuleStatement andRuleStatement) AND rule statement.default LicenseRuleStatement.BuildermatchingRuleStatement(Consumer<MatchingRuleStatement.Builder> matchingRuleStatement) Matching rule statement.matchingRuleStatement(MatchingRuleStatement matchingRuleStatement) Matching rule statement.default LicenseRuleStatement.BuilderorRuleStatement(Consumer<OrRuleStatement.Builder> orRuleStatement) OR rule statement.orRuleStatement(OrRuleStatement orRuleStatement) OR 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 LicenseRuleStatement.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 LicenseRuleStatement.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 LicenseRuleStatement.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:
-