@Generated(value="software.amazon.awssdk:codegen") public final class PlacementGroupInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PlacementGroupInfo.Builder,PlacementGroupInfo>
Describes the placement group support of the instance type.
Modifier and Type | Class and Description |
---|---|
static interface |
PlacementGroupInfo.Builder |
Modifier and Type | Method and Description |
---|---|
static PlacementGroupInfo.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSupportedStrategies()
Returns true if the SupportedStrategies property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PlacementGroupInfo.Builder> |
serializableBuilderClass() |
List<PlacementGroupStrategy> |
supportedStrategies()
A list of supported placement groups types.
|
List<String> |
supportedStrategiesAsStrings()
A list of supported placement groups types.
|
PlacementGroupInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public List<PlacementGroupStrategy> supportedStrategies()
A list of supported placement groups types.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedStrategies()
to see if a value was sent in this field.
public boolean hasSupportedStrategies()
public List<String> supportedStrategiesAsStrings()
A list of supported placement groups types.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedStrategies()
to see if a value was sent in this field.
public PlacementGroupInfo.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<PlacementGroupInfo.Builder,PlacementGroupInfo>
public static PlacementGroupInfo.Builder builder()
public static Class<? extends PlacementGroupInfo.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.