Cloneable
, ReadLimitInfo
, ToCopyableBuilder<SetInstanceHealthRequest.Builder,SetInstanceHealthRequest>
@Generated("software.amazon.awssdk:codegen") public class SetInstanceHealthRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<SetInstanceHealthRequest.Builder,SetInstanceHealthRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
SetInstanceHealthRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static SetInstanceHealthRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
healthStatus() |
The health status of the instance.
|
String |
instanceId() |
The ID of the instance.
|
static Class<? extends SetInstanceHealthRequest.Builder> |
serializableBuilderClass() |
|
Boolean |
shouldRespectGracePeriod() |
If the Auto Scaling group of the specified instance has a
HealthCheckGracePeriod specified for the
group, by default, this call will respect the grace period. |
SetInstanceHealthRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String instanceId()
The ID of the instance.
public String healthStatus()
The health status of the instance. Set to Healthy
if you want the instance to remain in service. Set
to Unhealthy
if you want the instance to be out of service. Auto Scaling will terminate and replace
the unhealthy instance.
Healthy
if you want the instance to remain in
service. Set to Unhealthy
if you want the instance to be out of service. Auto Scaling will
terminate and replace the unhealthy instance.public Boolean shouldRespectGracePeriod()
If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod
specified for the
group, by default, this call will respect the grace period. Set this to False
, if you do not want
the call to respect the grace period associated with the group.
For more information, see the description of the health check grace period for CreateAutoScalingGroup.
HealthCheckGracePeriod
specified
for the group, by default, this call will respect the grace period. Set this to False
, if
you do not want the call to respect the grace period associated with the group.
For more information, see the description of the health check grace period for CreateAutoScalingGroup.
public SetInstanceHealthRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SetInstanceHealthRequest.Builder,SetInstanceHealthRequest>
public static SetInstanceHealthRequest.Builder builder()
public static Class<? extends SetInstanceHealthRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.