Interface RuleStatement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleStatement.Builder,,RuleStatement> SdkBuilder<RuleStatement.Builder,,RuleStatement> SdkPojo
- Enclosing class:
RuleStatement
@Mutable
@NotThreadSafe
public static interface RuleStatement.Builder
extends SdkPojo, CopyableBuilder<RuleStatement.Builder,RuleStatement>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleStatement.BuilderinstanceRuleStatement(Consumer<InstanceRuleStatement.Builder> instanceRuleStatement) Instance rule statement.instanceRuleStatement(InstanceRuleStatement instanceRuleStatement) Instance rule statement.default RuleStatement.BuilderlicenseConfigurationRuleStatement(Consumer<LicenseConfigurationRuleStatement.Builder> licenseConfigurationRuleStatement) License configuration rule statement.licenseConfigurationRuleStatement(LicenseConfigurationRuleStatement licenseConfigurationRuleStatement) License configuration rule statement.default RuleStatement.BuilderlicenseRuleStatement(Consumer<LicenseRuleStatement.Builder> licenseRuleStatement) License rule statement.licenseRuleStatement(LicenseRuleStatement licenseRuleStatement) License 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
-
licenseConfigurationRuleStatement
RuleStatement.Builder licenseConfigurationRuleStatement(LicenseConfigurationRuleStatement licenseConfigurationRuleStatement) License configuration rule statement.
- Parameters:
licenseConfigurationRuleStatement- License configuration rule statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseConfigurationRuleStatement
default RuleStatement.Builder licenseConfigurationRuleStatement(Consumer<LicenseConfigurationRuleStatement.Builder> licenseConfigurationRuleStatement) License configuration rule statement.
This is a convenience method that creates an instance of theLicenseConfigurationRuleStatement.Builderavoiding the need to create one manually viaLicenseConfigurationRuleStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolicenseConfigurationRuleStatement(LicenseConfigurationRuleStatement).- Parameters:
licenseConfigurationRuleStatement- a consumer that will call methods onLicenseConfigurationRuleStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseRuleStatement
License rule statement.
- Parameters:
licenseRuleStatement- License rule statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseRuleStatement
default RuleStatement.Builder licenseRuleStatement(Consumer<LicenseRuleStatement.Builder> licenseRuleStatement) License rule statement.
This is a convenience method that creates an instance of theLicenseRuleStatement.Builderavoiding the need to create one manually viaLicenseRuleStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolicenseRuleStatement(LicenseRuleStatement).- Parameters:
licenseRuleStatement- a consumer that will call methods onLicenseRuleStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceRuleStatement
Instance rule statement.
- Parameters:
instanceRuleStatement- Instance rule statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceRuleStatement
default RuleStatement.Builder instanceRuleStatement(Consumer<InstanceRuleStatement.Builder> instanceRuleStatement) Instance rule statement.
This is a convenience method that creates an instance of theInstanceRuleStatement.Builderavoiding the need to create one manually viaInstanceRuleStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceRuleStatement(InstanceRuleStatement).- Parameters:
instanceRuleStatement- a consumer that will call methods onInstanceRuleStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-