Class CfnServiceEnvironment.CapacityLimitProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.batch.CfnServiceEnvironment.CapacityLimitProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnServiceEnvironment.CapacityLimitProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnServiceEnvironment.CapacityLimitProperty
@Stability(Stable)
@Internal
public static final class CfnServiceEnvironment.CapacityLimitProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnServiceEnvironment.CapacityLimitProperty
An implementation for
CfnServiceEnvironment.CapacityLimitProperty
-
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.batch.CfnServiceEnvironment.CapacityLimitProperty
CfnServiceEnvironment.CapacityLimitProperty.Builder, CfnServiceEnvironment.CapacityLimitProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnServiceEnvironment.CapacityLimitProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
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 theCfnServiceEnvironment.CapacityLimitProperty.Builder
.
-
-
Method Details
-
getCapacityUnit
Description copied from interface:CfnServiceEnvironment.CapacityLimitProperty
The unit of measure for the capacity limit.This defines how the maxCapacity value should be interpreted. For
SAGEMAKER_TRAINING
jobs, useNUM_INSTANCES
.- Specified by:
getCapacityUnit
in interfaceCfnServiceEnvironment.CapacityLimitProperty
- See Also:
-
getMaxCapacity
Description copied from interface:CfnServiceEnvironment.CapacityLimitProperty
The maximum capacity available for the service environment.This value represents the maximum amount resources that can be allocated to service jobs.
For example,
maxCapacity=50
,capacityUnit=NUM_INSTANCES
. This indicates that the maximum number of instances that can be run on this service environment is 50. You could then run 5 SageMaker Training jobs that each use 10 instances. However, if you submit another job that requires 10 instances, it will wait in the queue.- Specified by:
getMaxCapacity
in interfaceCfnServiceEnvironment.CapacityLimitProperty
- 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()
-