|
||||||||||
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
Describes a placement 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 the placement group. |
String |
getState()
The state of the placement group. |
String |
getStrategy()
The placement strategy. |
int |
hashCode()
|
void |
setGroupName(String groupName)
The name of the placement group. |
void |
setState(PlacementGroupState state)
The state of the placement group. |
void |
setState(String state)
The state of the placement group. |
void |
setStrategy(PlacementStrategy strategy)
The placement strategy. |
void |
setStrategy(String strategy)
The placement strategy. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
PlacementGroup |
withGroupName(String groupName)
The name of the placement group. |
PlacementGroup |
withState(PlacementGroupState state)
The state of the placement group. |
PlacementGroup |
withState(String state)
The state of the placement group. |
PlacementGroup |
withStrategy(PlacementStrategy strategy)
The placement strategy. |
PlacementGroup |
withStrategy(String strategy)
The placement strategy. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PlacementGroup()
public PlacementGroup(String groupName)
groupName
- The name of the placement group.Method Detail |
---|
public String getGroupName()
public void setGroupName(String groupName)
groupName
- The name of the placement group.public PlacementGroup withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
groupName
- The name of the placement group.
public String getStrategy()
Constraints:
Allowed Values: cluster
PlacementStrategy
public void setStrategy(String strategy)
Constraints:
Allowed Values: cluster
strategy
- The placement strategy.PlacementStrategy
public PlacementGroup withStrategy(String strategy)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: cluster
strategy
- The placement strategy.
PlacementStrategy
public void setStrategy(PlacementStrategy strategy)
Constraints:
Allowed Values: cluster
strategy
- The placement strategy.PlacementStrategy
public PlacementGroup withStrategy(PlacementStrategy strategy)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: cluster
strategy
- The placement strategy.
PlacementStrategy
public String getState()
Constraints:
Allowed Values: pending, available, deleting, deleted
PlacementGroupState
public void setState(String state)
Constraints:
Allowed Values: pending, available, deleting, deleted
state
- The state of the placement group.PlacementGroupState
public PlacementGroup withState(String state)
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 the placement group.
PlacementGroupState
public void setState(PlacementGroupState state)
Constraints:
Allowed Values: pending, available, deleting, deleted
state
- The state of the placement group.PlacementGroupState
public PlacementGroup withState(PlacementGroupState state)
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 the placement group.
PlacementGroupState
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |