|
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.ec2.model.PlacementGroup
public class PlacementGroup
Represents a placement group into which multiple Amazon EC2 instances can be launched. A placement group ensures that Amazon EC2 instances are physically located close enough to support HPC features, such as higher IO network connections between instances in the group.
| Constructor Summary | |
|---|---|
PlacementGroup()
Default constructor for a new PlacementGroup object. |
|
PlacementGroup(java.lang.String groupName)
Constructs a new PlacementGroup object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getGroupName()
The name of this PlacementGroup. |
java.lang.String |
getState()
The state of this PlacementGroup. |
java.lang.String |
getStrategy()
The strategy to use when allocating Amazon EC2 instances for the PlacementGroup. |
int |
hashCode()
|
void |
setGroupName(java.lang.String groupName)
The name of this PlacementGroup. |
void |
setState(PlacementGroupState state)
The state of this PlacementGroup. |
void |
setState(java.lang.String state)
The state of this PlacementGroup. |
void |
setStrategy(PlacementStrategy strategy)
The strategy to use when allocating Amazon EC2 instances for the PlacementGroup. |
void |
setStrategy(java.lang.String strategy)
The strategy to use when allocating Amazon EC2 instances for the PlacementGroup. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
PlacementGroup |
withGroupName(java.lang.String groupName)
The name of this PlacementGroup. |
PlacementGroup |
withState(PlacementGroupState state)
The state of this PlacementGroup. |
PlacementGroup |
withState(java.lang.String state)
The state of this PlacementGroup. |
PlacementGroup |
withStrategy(PlacementStrategy strategy)
The strategy to use when allocating Amazon EC2 instances for the PlacementGroup. |
PlacementGroup |
withStrategy(java.lang.String strategy)
The strategy to use when allocating Amazon EC2 instances for the PlacementGroup. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PlacementGroup()
public PlacementGroup(java.lang.String groupName)
groupName - The name of this PlacementGroup.| Method Detail |
|---|
public java.lang.String getGroupName()
PlacementGroup.
PlacementGroup.public void setGroupName(java.lang.String groupName)
PlacementGroup.
groupName - The name of this PlacementGroup.public PlacementGroup withGroupName(java.lang.String groupName)
PlacementGroup.
Returns a reference to this object so that method calls can be chained together.
groupName - The name of this PlacementGroup.
public java.lang.String getStrategy()
PlacementGroup.
Constraints:
Allowed Values: cluster
PlacementGroup.PlacementStrategypublic void setStrategy(java.lang.String strategy)
PlacementGroup.
Constraints:
Allowed Values: cluster
strategy - The strategy to use when allocating Amazon EC2 instances for the
PlacementGroup.PlacementStrategypublic PlacementGroup withStrategy(java.lang.String strategy)
PlacementGroup.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: cluster
strategy - The strategy to use when allocating Amazon EC2 instances for the
PlacementGroup.
PlacementStrategypublic void setStrategy(PlacementStrategy strategy)
PlacementGroup.
Constraints:
Allowed Values: cluster
strategy - The strategy to use when allocating Amazon EC2 instances for the
PlacementGroup.PlacementStrategypublic PlacementGroup withStrategy(PlacementStrategy strategy)
PlacementGroup.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: cluster
strategy - The strategy to use when allocating Amazon EC2 instances for the
PlacementGroup.
PlacementStrategypublic java.lang.String getState()
PlacementGroup.
Constraints:
Allowed Values: pending, available, deleting, deleted
PlacementGroup.PlacementGroupStatepublic void setState(java.lang.String state)
PlacementGroup.
Constraints:
Allowed Values: pending, available, deleting, deleted
state - The state of this PlacementGroup.PlacementGroupStatepublic PlacementGroup withState(java.lang.String state)
PlacementGroup.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: pending, available, deleting, deleted
state - The state of this PlacementGroup.
PlacementGroupStatepublic void setState(PlacementGroupState state)
PlacementGroup.
Constraints:
Allowed Values: pending, available, deleting, deleted
state - The state of this PlacementGroup.PlacementGroupStatepublic PlacementGroup withState(PlacementGroupState state)
PlacementGroup.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: pending, available, deleting, deleted
state - The state of this PlacementGroup.
PlacementGroupStatepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic 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 | ||||||