|
|||||||
| 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(String groupName)
Constructs a new PlacementGroup object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getGroupName()
The name of this PlacementGroup. |
String |
getState()
The state of this PlacementGroup. |
String |
getStrategy()
The strategy to use when allocating Amazon EC2 instances for the PlacementGroup. |
int |
hashCode()
|
void |
setGroupName(String groupName)
The name of this PlacementGroup. |
void |
setState(PlacementGroupState state)
The state of this PlacementGroup. |
void |
setState(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(String strategy)
The strategy to use when allocating Amazon EC2 instances for the PlacementGroup. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
PlacementGroup |
withGroupName(String groupName)
The name of this PlacementGroup. |
PlacementGroup |
withState(PlacementGroupState state)
The state of this PlacementGroup. |
PlacementGroup |
withState(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(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(String groupName)
groupName - The name of this PlacementGroup.| Method Detail |
|---|
public String getGroupName()
PlacementGroup.
PlacementGroup.public void setGroupName(String groupName)
PlacementGroup.
groupName - The name of this PlacementGroup.public PlacementGroup withGroupName(String groupName)
PlacementGroup.
Returns a reference to this object so that method calls can be chained together.
groupName - The name of this PlacementGroup.
public String getStrategy()
PlacementGroup.
Constraints:
Allowed Values: cluster
PlacementGroup.PlacementStrategypublic void setStrategy(String strategy)
PlacementGroup.
Constraints:
Allowed Values: cluster
strategy - The strategy to use when allocating Amazon EC2 instances for the
PlacementGroup.PlacementStrategypublic PlacementGroup withStrategy(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 String getState()
PlacementGroup.
Constraints:
Allowed Values: pending, available, deleting, deleted
PlacementGroup.PlacementGroupStatepublic void setState(String state)
PlacementGroup.
Constraints:
Allowed Values: pending, available, deleting, deleted
state - The state of this PlacementGroup.PlacementGroupStatepublic PlacementGroup withState(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 String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||