public static final class ElbHealthCheckOptions.Builder
extends java.lang.Object
ElbHealthCheckOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ElbHealthCheckOptions |
build()
Builds the configured instance.
|
ElbHealthCheckOptions.Builder |
grace(Duration grace)
Sets the value of
ElbHealthCheckOptions.getGrace() |
public ElbHealthCheckOptions.Builder grace(Duration grace)
ElbHealthCheckOptions.getGrace()
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.this
public ElbHealthCheckOptions build()
ElbHealthCheckOptions
java.lang.NullPointerException
- if any required attribute was not provided