Class RenderSignalsOptions.Builder
java.lang.Object
software.amazon.awscdk.services.autoscaling.RenderSignalsOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RenderSignalsOptions>
- Enclosing interface:
RenderSignalsOptions
@Stability(Stable)
public static final class RenderSignalsOptions.Builder
extends Object
implements software.amazon.jsii.Builder<RenderSignalsOptions>
A builder for
RenderSignalsOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.desiredCapacity
(Number desiredCapacity) Sets the value ofRenderSignalsOptions.getDesiredCapacity()
minCapacity
(Number minCapacity) Sets the value ofRenderSignalsOptions.getMinCapacity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
desiredCapacity
Sets the value ofRenderSignalsOptions.getDesiredCapacity()
- Parameters:
desiredCapacity
- The desiredCapacity of the ASG.- Returns:
this
-
minCapacity
Sets the value ofRenderSignalsOptions.getMinCapacity()
- Parameters:
minCapacity
- The minSize of the ASG.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<RenderSignalsOptions>
- Returns:
- a new instance of
RenderSignalsOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-