@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SpotResizingSpecification extends Object implements Serializable, Cloneable, StructuredPojo
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
Constructor and Description |
---|
SpotResizingSpecification() |
Modifier and Type | Method and Description |
---|---|
SpotResizingSpecification |
clone() |
boolean |
equals(Object obj) |
Integer |
getTimeoutDurationMinutes()
Spot resize timeout in minutes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setTimeoutDurationMinutes(Integer timeoutDurationMinutes)
Spot resize timeout in minutes.
|
String |
toString()
Returns a string representation of this object.
|
SpotResizingSpecification |
withTimeoutDurationMinutes(Integer timeoutDurationMinutes)
Spot resize timeout in minutes.
|
public void setTimeoutDurationMinutes(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.
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 Integer getTimeoutDurationMinutes()
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 withTimeoutDurationMinutes(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.
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 String toString()
toString
in class Object
Object.toString()
public SpotResizingSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.