|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.InstanceGroupDetail
public class InstanceGroupDetail
Detailed information about an instance group.
Constructor Summary | |
---|---|
InstanceGroupDetail()
Default constructor for a new InstanceGroupDetail object. |
|
InstanceGroupDetail(InstanceRoleType instanceRole,
java.lang.String instanceType,
java.lang.Integer instanceRequestCount,
java.lang.Integer instanceRunningCount,
InstanceGroupState state,
java.util.Date creationDateTime)
Constructs a new InstanceGroupDetail object. |
|
InstanceGroupDetail(java.lang.String instanceRole,
java.lang.String instanceType,
java.lang.Integer instanceRequestCount,
java.lang.Integer instanceRunningCount,
java.lang.String state,
java.util.Date creationDateTime)
Constructs a new InstanceGroupDetail object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getBidPrice()
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD. |
java.util.Date |
getCreationDateTime()
The date/time the instance group was created. |
java.util.Date |
getEndDateTime()
The date/time the instance group was terminated. |
java.lang.String |
getInstanceGroupId()
Unique identifier for the instance group. |
java.lang.Integer |
getInstanceRequestCount()
Target number of instances to run in the instance group. |
java.lang.String |
getInstanceRole()
Instance group role in the cluster |
java.lang.Integer |
getInstanceRunningCount()
Actual count of running instances. |
java.lang.String |
getInstanceType()
Amazon EC2 Instance type. |
java.lang.String |
getLastStateChangeReason()
Details regarding the state of the instance group. |
java.lang.String |
getMarket()
Market type of the Amazon EC2 instances used to create a cluster node. |
java.lang.String |
getName()
Friendly name for the instance group. |
java.util.Date |
getReadyDateTime()
The date/time the instance group was available to the cluster. |
java.util.Date |
getStartDateTime()
The date/time the instance group was started. |
java.lang.String |
getState()
State of instance group. |
int |
hashCode()
|
void |
setBidPrice(java.lang.String bidPrice)
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD. |
void |
setCreationDateTime(java.util.Date creationDateTime)
The date/time the instance group was created. |
void |
setEndDateTime(java.util.Date endDateTime)
The date/time the instance group was terminated. |
void |
setInstanceGroupId(java.lang.String instanceGroupId)
Unique identifier for the instance group. |
void |
setInstanceRequestCount(java.lang.Integer instanceRequestCount)
Target number of instances to run in the instance group. |
void |
setInstanceRole(InstanceRoleType instanceRole)
Instance group role in the cluster |
void |
setInstanceRole(java.lang.String instanceRole)
Instance group role in the cluster |
void |
setInstanceRunningCount(java.lang.Integer instanceRunningCount)
Actual count of running instances. |
void |
setInstanceType(java.lang.String instanceType)
Amazon EC2 Instance type. |
void |
setLastStateChangeReason(java.lang.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 |
setMarket(java.lang.String market)
Market type of the Amazon EC2 instances used to create a cluster node. |
void |
setName(java.lang.String name)
Friendly name for the instance group. |
void |
setReadyDateTime(java.util.Date readyDateTime)
The date/time the instance group was available to the cluster. |
void |
setStartDateTime(java.util.Date startDateTime)
The date/time the instance group was started. |
void |
setState(InstanceGroupState state)
State of instance group. |
void |
setState(java.lang.String state)
State of instance group. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceGroupDetail |
withBidPrice(java.lang.String bidPrice)
Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD. |
InstanceGroupDetail |
withCreationDateTime(java.util.Date creationDateTime)
The date/time the instance group was created. |
InstanceGroupDetail |
withEndDateTime(java.util.Date endDateTime)
The date/time the instance group was terminated. |
InstanceGroupDetail |
withInstanceGroupId(java.lang.String instanceGroupId)
Unique identifier for the instance group. |
InstanceGroupDetail |
withInstanceRequestCount(java.lang.Integer instanceRequestCount)
Target number of instances to run in the instance group. |
InstanceGroupDetail |
withInstanceRole(InstanceRoleType instanceRole)
Instance group role in the cluster |
InstanceGroupDetail |
withInstanceRole(java.lang.String instanceRole)
Instance group role in the cluster |
InstanceGroupDetail |
withInstanceRunningCount(java.lang.Integer instanceRunningCount)
Actual count of running instances. |
InstanceGroupDetail |
withInstanceType(java.lang.String instanceType)
Amazon EC2 Instance type. |
InstanceGroupDetail |
withLastStateChangeReason(java.lang.String lastStateChangeReason)
Details regarding the state of the instance group. |
InstanceGroupDetail |
withMarket(MarketType market)
Market type of the Amazon EC2 instances used to create a cluster node. |
InstanceGroupDetail |
withMarket(java.lang.String market)
Market type of the Amazon EC2 instances used to create a cluster node. |
InstanceGroupDetail |
withName(java.lang.String name)
Friendly name for the instance group. |
InstanceGroupDetail |
withReadyDateTime(java.util.Date readyDateTime)
The date/time the instance group was available to the cluster. |
InstanceGroupDetail |
withStartDateTime(java.util.Date startDateTime)
The date/time the instance group was started. |
InstanceGroupDetail |
withState(InstanceGroupState state)
State of instance group. |
InstanceGroupDetail |
withState(java.lang.String state)
State of instance group. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceGroupDetail()
public InstanceGroupDetail(java.lang.String instanceRole, java.lang.String instanceType, java.lang.Integer instanceRequestCount, java.lang.Integer instanceRunningCount, java.lang.String state, java.util.Date creationDateTime)
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.public InstanceGroupDetail(InstanceRoleType instanceRole, java.lang.String instanceType, java.lang.Integer instanceRequestCount, java.lang.Integer instanceRunningCount, InstanceGroupState state, java.util.Date creationDateTime)
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 Detail |
---|
public java.lang.String getInstanceGroupId()
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
public void setInstanceGroupId(java.lang.String instanceGroupId)
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
instanceGroupId
- Unique identifier for the instance group.public InstanceGroupDetail withInstanceGroupId(java.lang.String instanceGroupId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
instanceGroupId
- Unique identifier for the instance group.
public java.lang.String getName()
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
public void setName(java.lang.String name)
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
name
- Friendly name for the instance group.public InstanceGroupDetail withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
name
- Friendly name for the instance group.
public java.lang.String getMarket()
Constraints:
Allowed Values: ON_DEMAND, SPOT
MarketType
public void setMarket(java.lang.String market)
Constraints:
Allowed Values: ON_DEMAND, SPOT
market
- Market type of the Amazon EC2 instances used to create a cluster node.MarketType
public InstanceGroupDetail withMarket(java.lang.String market)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ON_DEMAND, SPOT
market
- Market type of the Amazon EC2 instances used to create a cluster node.
MarketType
public void setMarket(MarketType market)
Constraints:
Allowed Values: ON_DEMAND, SPOT
market
- Market type of the Amazon EC2 instances used to create a cluster node.MarketType
public InstanceGroupDetail withMarket(MarketType market)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ON_DEMAND, SPOT
market
- Market type of the Amazon EC2 instances used to create a cluster node.
MarketType
public java.lang.String getInstanceRole()
Constraints:
Allowed Values: MASTER, CORE, TASK
InstanceRoleType
public void setInstanceRole(java.lang.String instanceRole)
Constraints:
Allowed Values: MASTER, CORE, TASK
instanceRole
- Instance group role in the clusterInstanceRoleType
public InstanceGroupDetail withInstanceRole(java.lang.String instanceRole)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: MASTER, CORE, TASK
instanceRole
- Instance group role in the cluster
InstanceRoleType
public void setInstanceRole(InstanceRoleType instanceRole)
Constraints:
Allowed Values: MASTER, CORE, TASK
instanceRole
- Instance group role in the clusterInstanceRoleType
public InstanceGroupDetail withInstanceRole(InstanceRoleType instanceRole)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: MASTER, CORE, TASK
instanceRole
- Instance group role in the cluster
InstanceRoleType
public java.lang.String getBidPrice()
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
public void setBidPrice(java.lang.String bidPrice)
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
bidPrice
- Bid price for EC2 Instances when launching nodes as Spot Instances,
expressed in USD.public InstanceGroupDetail withBidPrice(java.lang.String bidPrice)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
bidPrice
- Bid price for EC2 Instances when launching nodes as Spot Instances,
expressed in USD.
public java.lang.String getInstanceType()
Constraints:
Length: 1 - 256
Pattern: [ -??-??-?\r\n\t]*
public void setInstanceType(java.lang.String instanceType)
Constraints:
Length: 1 - 256
Pattern: [ -??-??-?\r\n\t]*
instanceType
- Amazon EC2 Instance type.public InstanceGroupDetail withInstanceType(java.lang.String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: [ -??-??-?\r\n\t]*
instanceType
- Amazon EC2 Instance type.
public java.lang.Integer getInstanceRequestCount()
public void setInstanceRequestCount(java.lang.Integer instanceRequestCount)
instanceRequestCount
- Target number of instances to run in the instance group.public InstanceGroupDetail withInstanceRequestCount(java.lang.Integer instanceRequestCount)
Returns a reference to this object so that method calls can be chained together.
instanceRequestCount
- Target number of instances to run in the instance group.
public java.lang.Integer getInstanceRunningCount()
public void setInstanceRunningCount(java.lang.Integer instanceRunningCount)
instanceRunningCount
- Actual count of running instances.public InstanceGroupDetail withInstanceRunningCount(java.lang.Integer instanceRunningCount)
Returns a reference to this object so that method calls can be chained together.
instanceRunningCount
- Actual count of running instances.
public java.lang.String getState()
Constraints:
Allowed Values: PROVISIONING, STARTING, BOOTSTRAPPING, RUNNING, RESIZING, ARRESTED, SHUTTING_DOWN, TERMINATED, FAILED, ENDED
InstanceGroupState
public void setState(java.lang.String state)
Constraints:
Allowed Values: PROVISIONING, STARTING, BOOTSTRAPPING, RUNNING, RESIZING, ARRESTED, SHUTTING_DOWN, TERMINATED, FAILED, ENDED
state
- State of instance group. The following values are deprecated:
STARTING, TERMINATED, and FAILED.InstanceGroupState
public InstanceGroupDetail withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PROVISIONING, STARTING, BOOTSTRAPPING, RUNNING, RESIZING, ARRESTED, SHUTTING_DOWN, TERMINATED, FAILED, ENDED
state
- State of instance group. The following values are deprecated:
STARTING, TERMINATED, and FAILED.
InstanceGroupState
public void setState(InstanceGroupState state)
Constraints:
Allowed Values: PROVISIONING, STARTING, BOOTSTRAPPING, RUNNING, RESIZING, ARRESTED, SHUTTING_DOWN, TERMINATED, FAILED, ENDED
state
- State of instance group. The following values are deprecated:
STARTING, TERMINATED, and FAILED.InstanceGroupState
public InstanceGroupDetail withState(InstanceGroupState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PROVISIONING, STARTING, BOOTSTRAPPING, RUNNING, RESIZING, ARRESTED, SHUTTING_DOWN, TERMINATED, FAILED, ENDED
state
- State of instance group. The following values are deprecated:
STARTING, TERMINATED, and FAILED.
InstanceGroupState
public java.lang.String getLastStateChangeReason()
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
public void setLastStateChangeReason(java.lang.String lastStateChangeReason)
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
lastStateChangeReason
- Details regarding the state of the instance group.public InstanceGroupDetail withLastStateChangeReason(java.lang.String lastStateChangeReason)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
lastStateChangeReason
- Details regarding the state of the instance group.
public java.util.Date getCreationDateTime()
public void setCreationDateTime(java.util.Date creationDateTime)
creationDateTime
- The date/time the instance group was created.public InstanceGroupDetail withCreationDateTime(java.util.Date creationDateTime)
Returns a reference to this object so that method calls can be chained together.
creationDateTime
- The date/time the instance group was created.
public java.util.Date getStartDateTime()
public void setStartDateTime(java.util.Date startDateTime)
startDateTime
- The date/time the instance group was started.public InstanceGroupDetail withStartDateTime(java.util.Date startDateTime)
Returns a reference to this object so that method calls can be chained together.
startDateTime
- The date/time the instance group was started.
public java.util.Date getReadyDateTime()
public void setReadyDateTime(java.util.Date readyDateTime)
readyDateTime
- The date/time the instance group was available to the cluster.public InstanceGroupDetail withReadyDateTime(java.util.Date readyDateTime)
Returns a reference to this object so that method calls can be chained together.
readyDateTime
- The date/time the instance group was available to the cluster.
public java.util.Date getEndDateTime()
public void setEndDateTime(java.util.Date endDateTime)
endDateTime
- The date/time the instance group was terminated.public InstanceGroupDetail withEndDateTime(java.util.Date endDateTime)
Returns a reference to this object so that method calls can be chained together.
endDateTime
- The date/time the instance group was terminated.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |