Class OnDemandResizingSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.emr.model.OnDemandResizingSpecification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OnDemandResizingSpecification.Builder,OnDemandResizingSpecification>
@Generated("software.amazon.awssdk:codegen") public final class OnDemandResizingSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OnDemandResizingSpecification.Builder,OnDemandResizingSpecification>
The resize specification for On-Demand 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 interfaceOnDemandResizingSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OnDemandResizingSpecification.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends OnDemandResizingSpecification.Builder>serializableBuilderClass()IntegertimeoutDurationMinutes()On-Demand resize timeout in minutes.OnDemandResizingSpecification.BuildertoBuilder()StringtoString()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()
On-Demand resize timeout in minutes. If On-Demand Instances are not provisioned within this time, the resize workflow stops. The minimum value is 5 minutes, and the 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:
- On-Demand resize timeout in minutes. If On-Demand Instances are not provisioned within this time, the resize workflow stops. The minimum value is 5 minutes, and the 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 OnDemandResizingSpecification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OnDemandResizingSpecification.Builder,OnDemandResizingSpecification>
-
builder
public static OnDemandResizingSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends OnDemandResizingSpecification.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-