@Generated(value="software.amazon.awssdk:codegen") public final class SpotResizingSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SpotResizingSpecification.Builder,SpotResizingSpecification>
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SpotResizingSpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SpotResizingSpecification.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SpotResizingSpecification.Builder> |
serializableBuilderClass() |
Integer |
timeoutDurationMinutes()
Spot resize timeout in minutes.
|
SpotResizingSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer timeoutDurationMinutes()
Spot resize timeout in minutes. If Spot Instances are not provisioned within this time, the resize workflow will stop provisioning of Spot instances. Minimum value is 5 minutes and maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.
public SpotResizingSpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SpotResizingSpecification.Builder,SpotResizingSpecification>public static SpotResizingSpecification.Builder builder()
public static Class<? extends SpotResizingSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.