Class ElbHealthCheckOptions.Builder
java.lang.Object
software.amazon.awscdk.services.autoscaling.ElbHealthCheckOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ElbHealthCheckOptions>
- Enclosing interface:
ElbHealthCheckOptions
@Stability(Stable)
public static final class ElbHealthCheckOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ElbHealthCheckOptions>
A builder for
ElbHealthCheckOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofElbHealthCheckOptions.getGrace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
grace
Sets the value ofElbHealthCheckOptions.getGrace()
- Parameters:
grace
- Specified the time Auto Scaling waits before checking the health status of an EC2 instance that has come into service. This parameter is required. This option is required for ELB health checks.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ElbHealthCheckOptions>
- Returns:
- a new instance of
ElbHealthCheckOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-