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.
- Author:
- Adrian Cole
- See Also:
PlacementGroup
public PlacementGroup(String region,
String name,
String strategy,
PlacementGroup.State state)
compareTo
public int compareTo(PlacementGroup o)
- Specified by:
compareTo
in interface Comparable<PlacementGroup>
getRegion
public String getRegion()
- Returns:
- placement groups are in a region, however the namescope is global.
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.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.