Class PlacementGroup
java.lang.Object
com.amazonaws.services.ec2.model.PlacementGroup
- All Implemented Interfaces:
Serializable, Cloneable
Describes a placement group.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for PlacementGroup object.PlacementGroup(String groupName) Constructs a new PlacementGroup object. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe name of the placement group.getState()The state of the placement group.The placement strategy.inthashCode()voidsetGroupName(String groupName) The name of the placement group.voidsetState(PlacementGroupState state) The state of the placement group.voidThe state of the placement group.voidsetStrategy(PlacementStrategy strategy) The placement strategy.voidsetStrategy(String strategy) The placement strategy.toString()Returns a string representation of this object; useful for testing and debugging.withGroupName(String groupName) The name of the placement group.withState(PlacementGroupState state) The state of the placement group.The state of the placement group.withStrategy(PlacementStrategy strategy) The placement strategy.withStrategy(String strategy) The placement strategy.
-
Constructor Details
-
PlacementGroup
public PlacementGroup()Default constructor for PlacementGroup object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
PlacementGroup
Constructs a new PlacementGroup object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
groupName- The name of the placement group.
-
-
Method Details
-
setGroupName
The name of the placement group.
- Parameters:
groupName- The name of the placement group.
-
getGroupName
The name of the placement group.
- Returns:
- The name of the placement group.
-
withGroupName
The name of the placement group.
- Parameters:
groupName- The name of the placement group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStrategy
The placement strategy.
- Parameters:
strategy- The placement strategy.- See Also:
-
getStrategy
-
withStrategy
The placement strategy.
- Parameters:
strategy- The placement strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStrategy
The placement strategy.
- Parameters:
strategy- The placement strategy.- See Also:
-
withStrategy
The placement strategy.
- Parameters:
strategy- The placement strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The state of the placement group.
- Parameters:
state- The state of the placement group.- See Also:
-
getState
The state of the placement group.
- Returns:
- The state of the placement group.
- See Also:
-
withState
The state of the placement group.
- Parameters:
state- The state of the placement group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The state of the placement group.
- Parameters:
state- The state of the placement group.- See Also:
-
withState
The state of the placement group.
- Parameters:
state- The state of the placement group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
-
equals
-
hashCode
-
clone
-