Class SpotResizingSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.emr.model.SpotResizingSpecification
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SpotResizingSpecification.Builder,SpotResizingSpecification>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SpotResizingSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
timeoutDurationMinutes
public 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.
- Returns:
- 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.
-
toBuilder
public SpotResizingSpecification.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<SpotResizingSpecification.Builder,SpotResizingSpecification>
-
builder
public static SpotResizingSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends SpotResizingSpecification.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-