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.

See Also:
  • Constructor Details

  • Method Details

    • compareTo

      public int compareTo(PlacementGroup o)
      Specified by:
      compareTo in interface Comparable<PlacementGroup>
    • getRegion

      @Deprecated public String getRegion()
      Deprecated.
      To be removed in jclouds 1.6

      Warning

      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.
    • 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