public static final class CfnLaunchTemplate.CapacityReservationSpecificationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLaunchTemplate.CapacityReservationSpecificationProperty
CfnLaunchTemplate.CapacityReservationSpecificationProperty
CfnLaunchTemplate.CapacityReservationSpecificationProperty.Builder, CfnLaunchTemplate.CapacityReservationSpecificationProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCapacityReservationPreference()
Indicates the instance's Capacity Reservation preferences.
|
java.lang.Object |
getCapacityReservationTarget()
Information about the target Capacity Reservation or Capacity Reservation group.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getCapacityReservationPreference()
CfnLaunchTemplate.CapacityReservationSpecificationProperty
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 in On-Demand capacity.getCapacityReservationPreference
in interface CfnLaunchTemplate.CapacityReservationSpecificationProperty
public final java.lang.Object getCapacityReservationTarget()
CfnLaunchTemplate.CapacityReservationSpecificationProperty
getCapacityReservationTarget
in interface CfnLaunchTemplate.CapacityReservationSpecificationProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()