Interface IntegerParameterConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IntegerParameterConfig.Builder,,IntegerParameterConfig> SdkBuilder<IntegerParameterConfig.Builder,,IntegerParameterConfig> SdkPojo
- Enclosing class:
IntegerParameterConfig
@Mutable
@NotThreadSafe
public static interface IntegerParameterConfig.Builder
extends SdkPojo, CopyableBuilder<IntegerParameterConfig.Builder,IntegerParameterConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault IntegerParameterConfig.Builderconstraints(Consumer<IntegerConstraints.Builder> constraints) The constraints for the integer parameter.constraints(IntegerConstraints constraints) The constraints for the integer parameter.defaultValue(Integer defaultValue) The default value for the integer parameter.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
-
defaultValue
The default value for the integer parameter.
- Parameters:
defaultValue- The default value for the integer parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constraints
The constraints for the integer parameter.
- Parameters:
constraints- The constraints for the integer parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constraints
default IntegerParameterConfig.Builder constraints(Consumer<IntegerConstraints.Builder> constraints) The constraints for the integer parameter.
This is a convenience method that creates an instance of theIntegerConstraints.Builderavoiding the need to create one manually viaIntegerConstraints.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconstraints(IntegerConstraints).- Parameters:
constraints- a consumer that will call methods onIntegerConstraints.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-