@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.
PlacementGroupStrategypublic void setSupportedStrategies(Collection<String> supportedStrategies)
The supported placement group types.
supportedStrategies - The supported placement group types.PlacementGroupStrategypublic 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.PlacementGroupStrategypublic PlacementGroupInfo withSupportedStrategies(Collection<String> supportedStrategies)
The supported placement group types.
supportedStrategies - The supported placement group types.PlacementGroupStrategypublic PlacementGroupInfo withSupportedStrategies(PlacementGroupStrategy... supportedStrategies)
The supported placement group types.
supportedStrategies - The supported placement group types.PlacementGroupStrategypublic String toString()
toString in class ObjectObject.toString()public PlacementGroupInfo clone()