|
|||||||
| 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(String market,
String instanceRole,
String instanceType,
Integer instanceRequestCount,
Integer instanceRunningCount,
String state,
Date creationDateTime)
Constructs a new InstanceGroupDetail object. |
|
| Method Summary | |
|---|---|
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()
Amazon EC2 Instance type. |
String |
getLastStateChangeReason()
Details regarding the state of the instance group. |
String |
getMarket()
Market type of the Amazon 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. |
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(String instanceRole)
Instance group role in the cluster |
void |
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(String market)
Market type of the Amazon 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(String state)
State of instance group. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
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(String instanceRole)
Instance group role in the cluster |
InstanceGroupDetail |
withInstanceRunningCount(Integer instanceRunningCount)
Actual count of running instances. |
InstanceGroupDetail |
withInstanceType(String instanceType)
Amazon EC2 Instance type. |
InstanceGroupDetail |
withLastStateChangeReason(String lastStateChangeReason)
Details regarding the state of the instance group. |
InstanceGroupDetail |
withMarket(String market)
Market type of the Amazon 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(String state)
State of instance group. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceGroupDetail()
public InstanceGroupDetail(String market,
String instanceRole,
String instanceType,
Integer instanceRequestCount,
Integer instanceRunningCount,
String state,
Date creationDateTime)
market - Market type of the Amazon EC2 instances used to create a
cluster node.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.creationDateTime - The date/time the instance group was created.| Method Detail |
|---|
public String getInstanceGroupId()
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
public void setInstanceGroupId(String instanceGroupId)
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
instanceGroupId - Unique identifier for the instance group.public InstanceGroupDetail withInstanceGroupId(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 String getName()
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
public void setName(String name)
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
name - Friendly name for the instance group.public InstanceGroupDetail withName(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 String getMarket()
Constraints:
Allowed Values: ON_DEMAND
MarketTypepublic void setMarket(String market)
Constraints:
Allowed Values: ON_DEMAND
market - Market type of the Amazon EC2 instances used to create a cluster node.MarketTypepublic InstanceGroupDetail withMarket(String market)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ON_DEMAND
market - Market type of the Amazon EC2 instances used to create a cluster node.
MarketTypepublic String getInstanceRole()
Constraints:
Allowed Values: MASTER, CORE, TASK
InstanceRoleTypepublic void setInstanceRole(String instanceRole)
Constraints:
Allowed Values: MASTER, CORE, TASK
instanceRole - Instance group role in the clusterInstanceRoleTypepublic InstanceGroupDetail withInstanceRole(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
InstanceRoleTypepublic String getInstanceType()
Constraints:
Length: 1 - 256
Pattern: [ -??-??-?\r\n\t]*
public void setInstanceType(String instanceType)
Constraints:
Length: 1 - 256
Pattern: [ -??-??-?\r\n\t]*
instanceType - Amazon EC2 Instance type.public InstanceGroupDetail withInstanceType(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 Integer getInstanceRequestCount()
public void setInstanceRequestCount(Integer instanceRequestCount)
instanceRequestCount - Target number of instances to run in the instance group.public InstanceGroupDetail withInstanceRequestCount(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 Integer getInstanceRunningCount()
public void setInstanceRunningCount(Integer instanceRunningCount)
instanceRunningCount - Actual count of running instances.public InstanceGroupDetail withInstanceRunningCount(Integer instanceRunningCount)
Returns a reference to this object so that method calls can be chained together.
instanceRunningCount - Actual count of running instances.
public String getState()
Constraints:
Allowed Values: PROVISIONING, STARTING, RUNNING, SHUTTING_DOWN, TERMINATED, FAILED
InstanceGroupStatepublic void setState(String state)
Constraints:
Allowed Values: PROVISIONING, STARTING, RUNNING, SHUTTING_DOWN, TERMINATED, FAILED
state - State of instance group.InstanceGroupStatepublic InstanceGroupDetail withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PROVISIONING, STARTING, RUNNING, SHUTTING_DOWN, TERMINATED, FAILED
state - State of instance group.
InstanceGroupStatepublic String getLastStateChangeReason()
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
public void setLastStateChangeReason(String lastStateChangeReason)
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
lastStateChangeReason - Details regarding the state of the instance group.public InstanceGroupDetail withLastStateChangeReason(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 Date getCreationDateTime()
public void setCreationDateTime(Date creationDateTime)
creationDateTime - The date/time the instance group was created.public InstanceGroupDetail withCreationDateTime(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 Date getStartDateTime()
public void setStartDateTime(Date startDateTime)
startDateTime - The date/time the instance group was started.public InstanceGroupDetail withStartDateTime(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 Date getReadyDateTime()
public void setReadyDateTime(Date readyDateTime)
readyDateTime - The date/time the instance group was available to the cluster.public InstanceGroupDetail withReadyDateTime(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 Date getEndDateTime()
public void setEndDateTime(Date endDateTime)
endDateTime - The date/time the instance group was terminated.public InstanceGroupDetail withEndDateTime(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 String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||