ToCopyableBuilder<ActiveInstance.Builder,ActiveInstance>
@Generated("software.amazon.awssdk:codegen") public class ActiveInstance extends Object implements ToCopyableBuilder<ActiveInstance.Builder,ActiveInstance>
Describes a running instance in a Spot fleet.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ActiveInstance.Builder |
Modifier and Type | Method | Description |
---|---|---|
static ActiveInstance.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
instanceHealth() |
The health status of the instance.
|
String |
instanceId() |
The ID of the instance.
|
String |
instanceType() |
The instance type.
|
static Class<? extends ActiveInstance.Builder> |
serializableBuilderClass() |
|
String |
spotInstanceRequestId() |
The ID of the Spot instance request.
|
ActiveInstance.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String instanceId()
The ID of the instance.
public String instanceType()
The instance type.
public String spotInstanceRequestId()
The ID of the Spot instance request.
public String instanceHealth()
The health status of the instance. If the status of either the instance status check or the system status check
is impaired
, the health status of the instance is unhealthy
. Otherwise, the health
status is healthy
.
impaired
, the health status of the instance is unhealthy
. Otherwise,
the health status is healthy
.InstanceHealthStatus
public ActiveInstance.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ActiveInstance.Builder,ActiveInstance>
public static ActiveInstance.Builder builder()
public static Class<? extends ActiveInstance.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.