@Generated(value="software.amazon.awssdk:codegen") public class InstanceGroupDetail extends Object implements StructuredPojo, ToCopyableBuilder<InstanceGroupDetail.Builder,InstanceGroupDetail>
Detailed information about an instance group.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceGroupDetail.Builder |
Modifier and Type | Method and Description |
---|---|
String |
bidPrice()
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
|
static InstanceGroupDetail.Builder |
builder() |
Instant |
creationDateTime()
The date/time the instance group was created.
|
Instant |
endDateTime()
The date/time the instance group was terminated.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceGroupId()
Unique identifier for the instance group.
|
Integer |
instanceRequestCount()
Target number of instances to run in the instance group.
|
InstanceRoleType |
instanceRole()
Instance group role in the cluster
|
String |
instanceRoleString()
Instance group role in the cluster
|
Integer |
instanceRunningCount()
Actual count of running instances.
|
String |
instanceType()
EC2 instance type.
|
String |
lastStateChangeReason()
Details regarding the state of the instance group.
|
MarketType |
market()
Market type of the EC2 instances used to create a cluster node.
|
String |
marketString()
Market type of the EC2 instances used to create a cluster node.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
Friendly name for the instance group.
|
Instant |
readyDateTime()
The date/time the instance group was available to the cluster.
|
static Class<? extends InstanceGroupDetail.Builder> |
serializableBuilderClass() |
Instant |
startDateTime()
The date/time the instance group was started.
|
InstanceGroupState |
state()
State of instance group.
|
String |
stateString()
State of instance group.
|
InstanceGroupDetail.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String instanceGroupId()
Unique identifier for the instance group.
public String name()
Friendly name for the instance group.
public MarketType market()
Market type of the EC2 instances used to create a cluster node.
If the service returns an enum value that is not available in the current SDK version, market
will
return MarketType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
marketString()
.
MarketType
public String marketString()
Market type of the EC2 instances used to create a cluster node.
If the service returns an enum value that is not available in the current SDK version, market
will
return MarketType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
marketString()
.
MarketType
public InstanceRoleType instanceRole()
Instance group role in the cluster
If the service returns an enum value that is not available in the current SDK version, instanceRole
will
return InstanceRoleType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
instanceRoleString()
.
InstanceRoleType
public String instanceRoleString()
Instance group role in the cluster
If the service returns an enum value that is not available in the current SDK version, instanceRole
will
return InstanceRoleType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
instanceRoleString()
.
InstanceRoleType
public String bidPrice()
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
public String instanceType()
EC2 instance type.
public Integer instanceRequestCount()
Target number of instances to run in the instance group.
public Integer instanceRunningCount()
Actual count of running instances.
public InstanceGroupState state()
State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
If the service returns an enum value that is not available in the current SDK version, state
will return
InstanceGroupState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateString()
.
InstanceGroupState
public String stateString()
State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
If the service returns an enum value that is not available in the current SDK version, state
will return
InstanceGroupState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateString()
.
InstanceGroupState
public String lastStateChangeReason()
Details regarding the state of the instance group.
public Instant creationDateTime()
The date/time the instance group was created.
public Instant startDateTime()
The date/time the instance group was started.
public Instant readyDateTime()
The date/time the instance group was available to the cluster.
public Instant endDateTime()
The date/time the instance group was terminated.
public InstanceGroupDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceGroupDetail.Builder,InstanceGroupDetail>
public static InstanceGroupDetail.Builder builder()
public static Class<? extends InstanceGroupDetail.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.