Package org.jclouds.aws.ec2.domain
Class PlacementGroup
- java.lang.Object
-
- org.jclouds.aws.ec2.domain.PlacementGroup
-
- All Implemented Interfaces:
Comparable<PlacementGroup>
public class PlacementGroup extends Object implements Comparable<PlacementGroup>
A placement group is a logical grouping of instances. You first create a cluster placement group, then launch multiple cluster compute instances into the group. Currently cluster compute instances are available only in the US-East (Northern Virginia) Region. You must give each placement group a name that is unique within your account. For more information about cluster placement groups, see Cluster Compute Instance Concepts. Note You can't merge cluster placement groups. Instead you must terminate the instances in one of the groups, and then relaunch the instances into the other group.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlacementGroup.State
-
Constructor Summary
Constructors Constructor Description PlacementGroup(String region, String name, String strategy, PlacementGroup.State state)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compareTo(PlacementGroup o)
boolean
equals(Object obj)
String
getName()
String
getRegion()
Deprecated.PlacementGroup.State
getState()
String
getStrategy()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
PlacementGroup
public PlacementGroup(String region, String name, String strategy, PlacementGroup.State state)
-
-
Method Detail
-
compareTo
public int compareTo(PlacementGroup o)
- Specified by:
compareTo
in interfaceComparable<PlacementGroup>
-
getRegion
@Deprecated public String getRegion()
Deprecated.To be removed in jclouds 1.6Warning
Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context.
-
getName
public String getName()
- Returns:
- Name of the placement group.
-
getStrategy
public String getStrategy()
- Returns:
- The placement strategy.
-
getState
public PlacementGroup.State getState()
- Returns:
- Status of the placement group.
-
-