|
|||||||
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 | |
---|---|
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 . |
void |
setGroupName(java.lang.String groupName)
The name of this PlacementGroup . |
void |
setState(java.lang.String state)
The state of this 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(java.lang.String state)
The state of this 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 |
---|
equals, getClass, hashCode, 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
.PlacementStrategy
public void setStrategy(java.lang.String strategy)
PlacementGroup
.
Constraints:
Allowed Values: cluster
strategy
- The strategy to use when allocating Amazon EC2 instances for the
PlacementGroup
.PlacementStrategy
public 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
.
PlacementStrategy
public java.lang.String getState()
PlacementGroup
.
Constraints:
Allowed Values: pending, available, deleting, deleted
PlacementGroup
.PlacementGroupState
public void setState(java.lang.String state)
PlacementGroup
.
Constraints:
Allowed Values: pending, available, deleting, deleted
state
- The state of this PlacementGroup
.PlacementGroupState
public 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
.
PlacementGroupState
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |