Class CfnCluster.OnDemandCapacityReservationOptionsProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.emr.CfnCluster.OnDemandCapacityReservationOptionsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCluster.OnDemandCapacityReservationOptionsProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCluster.OnDemandCapacityReservationOptionsProperty
@Stability(Stable)
@Internal
public static final class CfnCluster.OnDemandCapacityReservationOptionsProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnCluster.OnDemandCapacityReservationOptionsProperty
An implementation for
CfnCluster.OnDemandCapacityReservationOptionsProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.emr.CfnCluster.OnDemandCapacityReservationOptionsProperty
CfnCluster.OnDemandCapacityReservationOptionsProperty.Builder, CfnCluster.OnDemandCapacityReservationOptionsProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnCluster.OnDemandCapacityReservationOptionsProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
Indicates the instance's Capacity Reservation preferences.final String
The ARN of the Capacity Reservation resource group in which to run the instance.final String
Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnCluster.OnDemandCapacityReservationOptionsProperty.Builder
.
-
-
Method Details
-
getCapacityReservationPreference
Description copied from interface:CfnCluster.OnDemandCapacityReservationOptionsProperty
Indicates the instance's Capacity Reservation preferences. Possible preferences include:.open
- The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).none
- The instance avoids running in a Capacity Reservation even if one is available. The instance runs as an On-Demand Instance.
- Specified by:
getCapacityReservationPreference
in interfaceCfnCluster.OnDemandCapacityReservationOptionsProperty
- See Also:
-
getCapacityReservationResourceGroupArn
Description copied from interface:CfnCluster.OnDemandCapacityReservationOptionsProperty
The ARN of the Capacity Reservation resource group in which to run the instance.- Specified by:
getCapacityReservationResourceGroupArn
in interfaceCfnCluster.OnDemandCapacityReservationOptionsProperty
- See Also:
-
getUsageStrategy
Description copied from interface:CfnCluster.OnDemandCapacityReservationOptionsProperty
Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.If you specify
use-capacity-reservations-first
, the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy (lowest-price
) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy (lowest-price
).If you do not specify a value, the fleet fulfills the On-Demand capacity according to the chosen On-Demand allocation strategy.
- Specified by:
getUsageStrategy
in interfaceCfnCluster.OnDemandCapacityReservationOptionsProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-