Class InstanceGroupDetail
- All Implemented Interfaces:
Serializable
,Cloneable
Detailed information about an instance group.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault 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. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.The date/time the instance group was created.The date/time the instance group was terminated.Unique identifier for the instance group.Target number of instances to run in the instance group.Instance group role in the clusterActual count of running instances.Amazon EC2 Instance type.Details regarding the state of the instance group.Market type of the Amazon EC2 instances used to create a cluster node.getName()
Friendly name for the instance group.The date/time the instance group was available to the cluster.The date/time the instance group was started.getState()
State of instance group.int
hashCode()
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 clustervoid
setInstanceRole
(String instanceRole) Instance group role in the clustervoid
setInstanceRunningCount
(Integer instanceRunningCount) Actual count of running instances.void
setInstanceType
(String instanceType) Amazon EC2 Instance type.void
setLastStateChangeReason
(String lastStateChangeReason) Details regarding the state of the instance group.void
setMarket
(MarketType market) Market type of the Amazon EC2 instances used to create a cluster node.void
Market type of the Amazon EC2 instances used to create a cluster node.void
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
State of instance group.toString()
Returns a string representation of this object; useful for testing and debugging.withBidPrice
(String bidPrice) Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.withCreationDateTime
(Date creationDateTime) The date/time the instance group was created.withEndDateTime
(Date endDateTime) The date/time the instance group was terminated.withInstanceGroupId
(String instanceGroupId) Unique identifier for the instance group.withInstanceRequestCount
(Integer instanceRequestCount) Target number of instances to run in the instance group.withInstanceRole
(InstanceRoleType instanceRole) Instance group role in the clusterwithInstanceRole
(String instanceRole) Instance group role in the clusterwithInstanceRunningCount
(Integer instanceRunningCount) Actual count of running instances.withInstanceType
(String instanceType) Amazon EC2 Instance type.withLastStateChangeReason
(String lastStateChangeReason) Details regarding the state of the instance group.withMarket
(MarketType market) Market type of the Amazon EC2 instances used to create a cluster node.withMarket
(String market) Market type of the Amazon EC2 instances used to create a cluster node.Friendly name for the instance group.withReadyDateTime
(Date readyDateTime) The date/time the instance group was available to the cluster.withStartDateTime
(Date startDateTime) The date/time the instance group was started.withState
(InstanceGroupState state) State of instance group.State of instance group.
-
Constructor Details
-
InstanceGroupDetail
public InstanceGroupDetail()Default constructor for InstanceGroupDetail object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
InstanceGroupDetail
public InstanceGroupDetail(String instanceRole, String instanceType, Integer instanceRequestCount, Integer instanceRunningCount, String state, Date creationDateTime) Constructs a new InstanceGroupDetail object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
instanceRole
- Instance group role in the clusterinstanceType
- Amazon 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.
-
InstanceGroupDetail
public InstanceGroupDetail(InstanceRoleType instanceRole, String instanceType, Integer instanceRequestCount, Integer instanceRunningCount, InstanceGroupState state, Date creationDateTime) Constructs a new InstanceGroupDetail object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
instanceRole
- Instance group role in the clusterinstanceType
- Amazon 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.
-
-
Method Details
-
setInstanceGroupId
Unique identifier for the instance group.
- Parameters:
instanceGroupId
- Unique identifier for the instance group.
-
getInstanceGroupId
Unique identifier for the instance group.
- Returns:
- Unique identifier for the instance group.
-
withInstanceGroupId
Unique identifier for the instance group.
- Parameters:
instanceGroupId
- Unique identifier for the instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
Friendly name for the instance group.
- Parameters:
name
- Friendly name for the instance group.
-
getName
Friendly name for the instance group.
- Returns:
- Friendly name for the instance group.
-
withName
Friendly name for the instance group.
- Parameters:
name
- Friendly name for the instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarket
Market type of the Amazon EC2 instances used to create a cluster node.
- Parameters:
market
- Market type of the Amazon EC2 instances used to create a cluster node.- See Also:
-
getMarket
Market type of the Amazon EC2 instances used to create a cluster node.
- Returns:
- Market type of the Amazon EC2 instances used to create a cluster node.
- See Also:
-
withMarket
Market type of the Amazon EC2 instances used to create a cluster node.
- Parameters:
market
- Market type of the Amazon EC2 instances used to create a cluster node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setMarket
Market type of the Amazon EC2 instances used to create a cluster node.
- Parameters:
market
- Market type of the Amazon EC2 instances used to create a cluster node.- See Also:
-
withMarket
Market type of the Amazon EC2 instances used to create a cluster node.
- Parameters:
market
- Market type of the Amazon EC2 instances used to create a cluster node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setInstanceRole
Instance group role in the cluster
- Parameters:
instanceRole
- Instance group role in the cluster- See Also:
-
getInstanceRole
Instance group role in the cluster
- Returns:
- Instance group role in the cluster
- See Also:
-
withInstanceRole
Instance group role in the cluster
- Parameters:
instanceRole
- Instance group role in the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setInstanceRole
Instance group role in the cluster
- Parameters:
instanceRole
- Instance group role in the cluster- See Also:
-
withInstanceRole
Instance group role in the cluster
- Parameters:
instanceRole
- Instance group role in the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setBidPrice
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
- Parameters:
bidPrice
- Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
-
getBidPrice
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
- Returns:
- Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
-
withBidPrice
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
- Parameters:
bidPrice
- Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceType
Amazon EC2 Instance type.
- Parameters:
instanceType
- Amazon EC2 Instance type.
-
getInstanceType
Amazon EC2 Instance type.
- Returns:
- Amazon EC2 Instance type.
-
withInstanceType
Amazon EC2 Instance type.
- Parameters:
instanceType
- Amazon EC2 Instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceRequestCount
Target number of instances to run in the instance group.
- Parameters:
instanceRequestCount
- Target number of instances to run in the instance group.
-
getInstanceRequestCount
Target number of instances to run in the instance group.
- Returns:
- Target number of instances to run in the instance group.
-
withInstanceRequestCount
Target number of instances to run in the instance group.
- Parameters:
instanceRequestCount
- Target number of instances to run in the instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceRunningCount
Actual count of running instances.
- Parameters:
instanceRunningCount
- Actual count of running instances.
-
getInstanceRunningCount
Actual count of running instances.
- Returns:
- Actual count of running instances.
-
withInstanceRunningCount
Actual count of running instances.
- Parameters:
instanceRunningCount
- Actual count of running instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
- Parameters:
state
- State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.- See Also:
-
getState
State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
- Returns:
- State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
- See Also:
-
withState
State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
- Parameters:
state
- State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
- Parameters:
state
- State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.- See Also:
-
withState
State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.
- Parameters:
state
- State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setLastStateChangeReason
Details regarding the state of the instance group.
- Parameters:
lastStateChangeReason
- Details regarding the state of the instance group.
-
getLastStateChangeReason
Details regarding the state of the instance group.
- Returns:
- Details regarding the state of the instance group.
-
withLastStateChangeReason
Details regarding the state of the instance group.
- Parameters:
lastStateChangeReason
- Details regarding the state of the instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationDateTime
The date/time the instance group was created.
- Parameters:
creationDateTime
- The date/time the instance group was created.
-
getCreationDateTime
The date/time the instance group was created.
- Returns:
- The date/time the instance group was created.
-
withCreationDateTime
The date/time the instance group was created.
- Parameters:
creationDateTime
- The date/time the instance group was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartDateTime
The date/time the instance group was started.
- Parameters:
startDateTime
- The date/time the instance group was started.
-
getStartDateTime
The date/time the instance group was started.
- Returns:
- The date/time the instance group was started.
-
withStartDateTime
The date/time the instance group was started.
- Parameters:
startDateTime
- The date/time the instance group was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReadyDateTime
The date/time the instance group was available to the cluster.
- Parameters:
readyDateTime
- The date/time the instance group was available to the cluster.
-
getReadyDateTime
The date/time the instance group was available to the cluster.
- Returns:
- The date/time the instance group was available to the cluster.
-
withReadyDateTime
The date/time the instance group was available to the cluster.
- Parameters:
readyDateTime
- The date/time the instance group was available to the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndDateTime
The date/time the instance group was terminated.
- Parameters:
endDateTime
- The date/time the instance group was terminated.
-
getEndDateTime
The date/time the instance group was terminated.
- Returns:
- The date/time the instance group was terminated.
-
withEndDateTime
The date/time the instance group was terminated.
- Parameters:
endDateTime
- The date/time the instance group was terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-