@Generated(value="software.amazon.awssdk:codegen") public final class SpotPlacementScore extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SpotPlacementScore.Builder,SpotPlacementScore>
The Spot placement score for this Region or Availability Zone. The score is calculated based on the assumption that
the capacity-optimized
allocation strategy is used and that all of the Availability Zones in the Region
can be used.
Modifier and Type | Class and Description |
---|---|
static interface |
SpotPlacementScore.Builder |
Modifier and Type | Method and Description |
---|---|
String |
availabilityZoneId()
The Availability Zone.
|
static SpotPlacementScore.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
region()
The Region.
|
Integer |
score()
The placement score, on a scale from
1 to 10 . |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SpotPlacementScore.Builder> |
serializableBuilderClass() |
SpotPlacementScore.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String region()
The Region.
public final String availabilityZoneId()
The Availability Zone.
public final Integer score()
The placement score, on a scale from 1
to 10
. A score of 10
indicates that
your Spot request is highly likely to succeed in this Region or Availability Zone. A score of 1
indicates that your Spot request is not likely to succeed.
1
to 10
. A score of 10
indicates that your Spot request is highly likely to succeed in this Region or Availability Zone. A score
of 1
indicates that your Spot request is not likely to succeed.public SpotPlacementScore.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SpotPlacementScore.Builder,SpotPlacementScore>
public static SpotPlacementScore.Builder builder()
public static Class<? extends SpotPlacementScore.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.