Class CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty
@Stability(Stable)
@Internal
public static final class CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty
An implementation for
CfnEC2FleetPropsMixin.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.cfnpropertymixins.services.ec2.CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty
CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty.Builder, CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnEC2FleetPropsMixin.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
protected Jsii$Proxy(CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty.Builder.
-
-
Method Details
-
getDefaultTargetCapacityType
Description copied from interface:CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestPropertyThe default target capacity type.- Specified by:
getDefaultTargetCapacityTypein interfaceCfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty- See Also:
-
getOnDemandTargetCapacity
Description copied from interface:CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestPropertyThe number of On-Demand units to request.- Specified by:
getOnDemandTargetCapacityin interfaceCfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty- See Also:
-
getSpotTargetCapacity
Description copied from interface:CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestPropertyThe number of Spot units to request.- Specified by:
getSpotTargetCapacityin interfaceCfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty- See Also:
-
getTargetCapacityUnitType
Description copied from interface:CfnEC2FleetPropsMixin.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 interfaceCfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestProperty- See Also:
-
getTotalTargetCapacity
Description copied from interface:CfnEC2FleetPropsMixin.TargetCapacitySpecificationRequestPropertyThe number of units to request, filled using the default target capacity type.- Specified by:
getTotalTargetCapacityin interfaceCfnEC2FleetPropsMixin.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()
-