org.jclouds.aws.ec2.domain
Class PlacementGroup

java.lang.Object
  extended by 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:

Nested Class Summary
static class PlacementGroup.State
           
 
Constructor Summary
PlacementGroup(String region, String name, String strategy, PlacementGroup.State state)
           
 
Method Summary
 int compareTo(PlacementGroup o)
           
 boolean equals(Object obj)
           
 String getName()
           
 String getRegion()
           
 PlacementGroup.State getState()
           
 String getStrategy()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 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-2012 jclouds. All Rights Reserved.