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 default target capacity type.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 using the default target capacity type.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 using the default target capacity type.- Specified by:
getTotalTargetCapacityin interfaceCfnEC2Fleet.TargetCapacitySpecificationRequestProperty- See Also:
-
getDefaultTargetCapacityType
Description copied from interface:CfnEC2Fleet.TargetCapacitySpecificationRequestPropertyThe default target capacity type.- Specified by:
getDefaultTargetCapacityTypein interfaceCfnEC2Fleet.TargetCapacitySpecificationRequestProperty- See Also:
-
getOnDemandTargetCapacity
Description copied from interface:CfnEC2Fleet.TargetCapacitySpecificationRequestPropertyThe number of On-Demand units to request.- Specified by:
getOnDemandTargetCapacityin interfaceCfnEC2Fleet.TargetCapacitySpecificationRequestProperty- See Also:
-
getSpotTargetCapacity
Description copied from interface:CfnEC2Fleet.TargetCapacitySpecificationRequestPropertyThe number of Spot units to request.- Specified by:
getSpotTargetCapacityin interfaceCfnEC2Fleet.TargetCapacitySpecificationRequestProperty- See Also:
-
getTargetCapacityUnitType
Description copied from interface:CfnEC2Fleet.TargetCapacitySpecificationRequestPropertyThe unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.Default:
units(the number of instances)- Specified by:
getTargetCapacityUnitTypein interfaceCfnEC2Fleet.TargetCapacitySpecificationRequestProperty- See Also:
-
$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()
-