Class CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
@Stability(Stable)
@Internal
public static final class CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
An implementation for
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder, CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringThe defaultTotalTargetCapacity, which is eitherSpotorOn-Demand.final NumberThe number of On-Demand units to request.final NumberThe number of Spot units to request.final StringThe unit for the target capacity.final NumberThe number of units to request, filled usingDefaultTargetCapacityType.final inthashCode()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 theCfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder.
-
-
Method Details
-
getTotalTargetCapacity
Description copied from interface:CfnEC2Fleet.TargetCapacitySpecificationRequestPropertyThe number of units to request, filled usingDefaultTargetCapacityType.- Specified by:
getTotalTargetCapacityin interfaceCfnEC2Fleet.TargetCapacitySpecificationRequestProperty
-
getDefaultTargetCapacityType
Description copied from interface:CfnEC2Fleet.TargetCapacitySpecificationRequestPropertyThe defaultTotalTargetCapacity, which is eitherSpotorOn-Demand.- Specified by:
getDefaultTargetCapacityTypein interfaceCfnEC2Fleet.TargetCapacitySpecificationRequestProperty
-
getOnDemandTargetCapacity
Description copied from interface:CfnEC2Fleet.TargetCapacitySpecificationRequestPropertyThe number of On-Demand units to request.- Specified by:
getOnDemandTargetCapacityin interfaceCfnEC2Fleet.TargetCapacitySpecificationRequestProperty
-
getSpotTargetCapacity
Description copied from interface:CfnEC2Fleet.TargetCapacitySpecificationRequestPropertyThe number of Spot units to request.- Specified by:
getSpotTargetCapacityin interfaceCfnEC2Fleet.TargetCapacitySpecificationRequestProperty
-
getTargetCapacityUnitType
Description copied from interface:CfnEC2Fleet.TargetCapacitySpecificationRequestPropertyThe unit for the target capacity.TargetCapacityUnitTypecan only be specified whenInstanceRequirementsis specified.Default:
units(translates to number of instances)- Specified by:
getTargetCapacityUnitTypein interfaceCfnEC2Fleet.TargetCapacitySpecificationRequestProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-