@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceGroupDetail extends Object implements Serializable, Cloneable, StructuredPojo
Detailed information about an instance group.
Constructor and Description |
---|
InstanceGroupDetail()
Default constructor for InstanceGroupDetail object.
|
InstanceGroupDetail(InstanceRoleType instanceRole,
String instanceType,
Integer instanceRequestCount,
Integer instanceRunningCount,
InstanceGroupState state,
Date creationDateTime)
Constructs a new InstanceGroupDetail object.
|
InstanceGroupDetail(String instanceRole,
String instanceType,
Integer instanceRequestCount,
Integer instanceRunningCount,
String state,
Date creationDateTime)
Constructs a new InstanceGroupDetail object.
|
Modifier and Type | Method and Description |
---|---|
InstanceGroupDetail |
clone() |
boolean |
equals(Object obj) |
String |
getBidPrice()
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
|
Date |
getCreationDateTime()
The date/time the instance group was created.
|
Date |
getEndDateTime()
The date/time the instance group was terminated.
|
String |
getInstanceGroupId()
Unique identifier for the instance group.
|
Integer |
getInstanceRequestCount()
Target number of instances to run in the instance group.
|
String |
getInstanceRole()
Instance group role in the cluster
|
Integer |
getInstanceRunningCount()
Actual count of running instances.
|
String |
getInstanceType()
EC2 instance type.
|
String |
getLastStateChangeReason()
Details regarding the state of the instance group.
|
String |
getMarket()
Market type of the EC2 instances used to create a cluster node.
|
String |
getName()
Friendly name for the instance group.
|
Date |
getReadyDateTime()
The date/time the instance group was available to the cluster.
|
Date |
getStartDateTime()
The date/time the instance group was started.
|
String |
getState()
State of instance group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBidPrice(String bidPrice)
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
|
void |
setCreationDateTime(Date creationDateTime)
The date/time the instance group was created.
|
void |
setEndDateTime(Date endDateTime)
The date/time the instance group was terminated.
|
void |
setInstanceGroupId(String instanceGroupId)
Unique identifier for the instance group.
|
void |
setInstanceRequestCount(Integer instanceRequestCount)
Target number of instances to run in the instance group.
|
void |
setInstanceRole(InstanceRoleType instanceRole)
Instance group role in the cluster
|
void |
setInstanceRole(String instanceRole)
Instance group role in the cluster
|
void |
setInstanceRunningCount(Integer instanceRunningCount)
Actual count of running instances.
|
void |
setInstanceType(String instanceType)
EC2 instance type.
|
void |
setLastStateChangeReason(String lastStateChangeReason)
Details regarding the state of the instance group.
|
void |
setMarket(MarketType market)
Market type of the EC2 instances used to create a cluster node.
|
void |
setMarket(String market)
Market type of the EC2 instances used to create a cluster node.
|
void |
setName(String name)
Friendly name for the instance group.
|
void |
setReadyDateTime(Date readyDateTime)
The date/time the instance group was available to the cluster.
|
void |
setStartDateTime(Date startDateTime)
The date/time the instance group was started.
|
void |
setState(InstanceGroupState state)
State of instance group.
|
void |
setState(String state)
State of instance group.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceGroupDetail |
withBidPrice(String bidPrice)
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
|
InstanceGroupDetail |
withCreationDateTime(Date creationDateTime)
The date/time the instance group was created.
|
InstanceGroupDetail |
withEndDateTime(Date endDateTime)
The date/time the instance group was terminated.
|
InstanceGroupDetail |
withInstanceGroupId(String instanceGroupId)
Unique identifier for the instance group.
|
InstanceGroupDetail |
withInstanceRequestCount(Integer instanceRequestCount)
Target number of instances to run in the instance group.
|
InstanceGroupDetail |
withInstanceRole(InstanceRoleType instanceRole)
Instance group role in the cluster
|
InstanceGroupDetail |
withInstanceRole(String instanceRole)
Instance group role in the cluster
|
InstanceGroupDetail |
withInstanceRunningCount(Integer instanceRunningCount)
Actual count of running instances.
|
InstanceGroupDetail |
withInstanceType(String instanceType)
EC2 instance type.
|
InstanceGroupDetail |
withLastStateChangeReason(String lastStateChangeReason)
Details regarding the state of the instance group.
|
InstanceGroupDetail |
withMarket(MarketType market)
Market type of the EC2 instances used to create a cluster node.
|
InstanceGroupDetail |
withMarket(String market)
Market type of the EC2 instances used to create a cluster node.
|
InstanceGroupDetail |
withName(String name)
Friendly name for the instance group.
|
InstanceGroupDetail |
withReadyDateTime(Date readyDateTime)
The date/time the instance group was available to the cluster.
|
InstanceGroupDetail |
withStartDateTime(Date startDateTime)
The date/time the instance group was started.
|
InstanceGroupDetail |
withState(InstanceGroupState state)
State of instance group.
|
InstanceGroupDetail |
withState(String state)
State of instance group.
|
public InstanceGroupDetail()
public InstanceGroupDetail(String instanceRole, String instanceType, Integer instanceRequestCount, Integer instanceRunningCount, String state, Date creationDateTime)
instanceRole
- Instance group role in the clusterinstanceType
- EC2 instance type.instanceRequestCount
- Target number of instances to run in the instance group.instanceRunningCount
- Actual count of running instances.state
- State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.creationDateTime
- The date/time the instance group was created.public InstanceGroupDetail(InstanceRoleType instanceRole, String instanceType, Integer instanceRequestCount, Integer instanceRunningCount, InstanceGroupState state, Date creationDateTime)
instanceRole
- Instance group role in the clusterinstanceType
- EC2 instance type.instanceRequestCount
- Target number of instances to run in the instance group.instanceRunningCount
- Actual count of running instances.state
- State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.creationDateTime
- The date/time the instance group was created.public void setInstanceGroupId(String instanceGroupId)
Unique identifier for the instance group.
instanceGroupId
- Unique identifier for the instance group.public String getInstanceGroupId()
Unique identifier for the instance group.
public InstanceGroupDetail withInstanceGroupId(String instanceGroupId)
Unique identifier for the instance group.
instanceGroupId
- Unique identifier for the instance group.public void setName(String name)
Friendly name for the instance group.
name
- Friendly name for the instance group.public String getName()
Friendly name for the instance group.
public InstanceGroupDetail withName(String name)
Friendly name for the instance group.
name
- Friendly name for the instance group.public void setMarket(String market)
Market type of the EC2 instances used to create a cluster node.
market
- Market type of the EC2 instances used to create a cluster node.MarketType
public String getMarket()
Market type of the EC2 instances used to create a cluster node.
MarketType
public InstanceGroupDetail withMarket(String market)
Market type of the EC2 instances used to create a cluster node.
market
- Market type of the EC2 instances used to create a cluster node.MarketType
public void setMarket(MarketType market)
Market type of the EC2 instances used to create a cluster node.
market
- Market type of the EC2 instances used to create a cluster node.MarketType
public InstanceGroupDetail withMarket(MarketType market)
Market type of the EC2 instances used to create a cluster node.
market
- Market type of the EC2 instances used to create a cluster node.MarketType
public void setInstanceRole(String instanceRole)
Instance group role in the cluster
instanceRole
- Instance group role in the clusterInstanceRoleType
public String getInstanceRole()
Instance group role in the cluster
InstanceRoleType
public InstanceGroupDetail withInstanceRole(String instanceRole)
Instance group role in the cluster
instanceRole
- Instance group role in the clusterInstanceRoleType
public void setInstanceRole(InstanceRoleType instanceRole)
Instance group role in the cluster
instanceRole
- Instance group role in the clusterInstanceRoleType
public InstanceGroupDetail withInstanceRole(InstanceRoleType instanceRole)
Instance group role in the cluster
instanceRole
- Instance group role in the clusterInstanceRoleType
public void setBidPrice(String bidPrice)
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
bidPrice
- Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.public String getBidPrice()
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
public InstanceGroupDetail withBidPrice(String bidPrice)
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
bidPrice
- Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.public void setInstanceType(String instanceType)
EC2 instance type.
instanceType
- EC2 instance type.public String getInstanceType()
EC2 instance type.
public InstanceGroupDetail withInstanceType(String instanceType)
EC2 instance type.
instanceType
- EC2 instance type.public void setInstanceRequestCount(Integer instanceRequestCount)
Target number of instances to run in the instance group.
instanceRequestCount
- Target number of instances to run in the instance group.public Integer getInstanceRequestCount()
Target number of instances to run in the instance group.
public InstanceGroupDetail withInstanceRequestCount(Integer instanceRequestCount)
Target number of instances to run in the instance group.
instanceRequestCount
- Target number of instances to run in the instance group.public void setInstanceRunningCount(Integer instanceRunningCount)
Actual count of running instances.
instanceRunningCount
- Actual count of running instances.public Integer getInstanceRunningCount()
Actual count of running instances.
public InstanceGroupDetail withInstanceRunningCount(Integer instanceRunningCount)
Actual count of running instances.
instanceRunningCount
- Actual count of running instances.public void setState(String state)
State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
state
- State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.InstanceGroupState
public String getState()
State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
InstanceGroupState
public InstanceGroupDetail withState(String state)
State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
state
- State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.InstanceGroupState
public void setState(InstanceGroupState state)
State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
state
- State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.InstanceGroupState
public InstanceGroupDetail withState(InstanceGroupState state)
State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
state
- State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.InstanceGroupState
public void setLastStateChangeReason(String lastStateChangeReason)
Details regarding the state of the instance group.
lastStateChangeReason
- Details regarding the state of the instance group.public String getLastStateChangeReason()
Details regarding the state of the instance group.
public InstanceGroupDetail withLastStateChangeReason(String lastStateChangeReason)
Details regarding the state of the instance group.
lastStateChangeReason
- Details regarding the state of the instance group.public void setCreationDateTime(Date creationDateTime)
The date/time the instance group was created.
creationDateTime
- The date/time the instance group was created.public Date getCreationDateTime()
The date/time the instance group was created.
public InstanceGroupDetail withCreationDateTime(Date creationDateTime)
The date/time the instance group was created.
creationDateTime
- The date/time the instance group was created.public void setStartDateTime(Date startDateTime)
The date/time the instance group was started.
startDateTime
- The date/time the instance group was started.public Date getStartDateTime()
The date/time the instance group was started.
public InstanceGroupDetail withStartDateTime(Date startDateTime)
The date/time the instance group was started.
startDateTime
- The date/time the instance group was started.public void setReadyDateTime(Date readyDateTime)
The date/time the instance group was available to the cluster.
readyDateTime
- The date/time the instance group was available to the cluster.public Date getReadyDateTime()
The date/time the instance group was available to the cluster.
public InstanceGroupDetail withReadyDateTime(Date readyDateTime)
The date/time the instance group was available to the cluster.
readyDateTime
- The date/time the instance group was available to the cluster.public void setEndDateTime(Date endDateTime)
The date/time the instance group was terminated.
endDateTime
- The date/time the instance group was terminated.public Date getEndDateTime()
The date/time the instance group was terminated.
public InstanceGroupDetail withEndDateTime(Date endDateTime)
The date/time the instance group was terminated.
endDateTime
- The date/time the instance group was terminated.public String toString()
toString
in class Object
Object.toString()
public InstanceGroupDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.