@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlacementGroupInfo extends Object implements Serializable, Cloneable
Describes the placement group support of the instance type.
Constructor and Description |
---|
PlacementGroupInfo() |
Modifier and Type | Method and Description |
---|---|
PlacementGroupInfo |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSupportedStrategies()
The supported placement group types.
|
int |
hashCode() |
void |
setSupportedStrategies(Collection<String> supportedStrategies)
The supported placement group types.
|
String |
toString()
Returns a string representation of this object.
|
PlacementGroupInfo |
withSupportedStrategies(Collection<String> supportedStrategies)
The supported placement group types.
|
PlacementGroupInfo |
withSupportedStrategies(PlacementGroupStrategy... supportedStrategies)
The supported placement group types.
|
PlacementGroupInfo |
withSupportedStrategies(String... supportedStrategies)
The supported placement group types.
|
public List<String> getSupportedStrategies()
The supported placement group types.
PlacementGroupStrategy
public void setSupportedStrategies(Collection<String> supportedStrategies)
The supported placement group types.
supportedStrategies
- The supported placement group types.PlacementGroupStrategy
public PlacementGroupInfo withSupportedStrategies(String... supportedStrategies)
The supported placement group types.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedStrategies(java.util.Collection)
or withSupportedStrategies(java.util.Collection)
if you want to override the existing values.
supportedStrategies
- The supported placement group types.PlacementGroupStrategy
public PlacementGroupInfo withSupportedStrategies(Collection<String> supportedStrategies)
The supported placement group types.
supportedStrategies
- The supported placement group types.PlacementGroupStrategy
public PlacementGroupInfo withSupportedStrategies(PlacementGroupStrategy... supportedStrategies)
The supported placement group types.
supportedStrategies
- The supported placement group types.PlacementGroupStrategy
public String toString()
toString
in class Object
Object.toString()
public PlacementGroupInfo clone()