Class Share.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.batch.Share.Jsii$Proxy
- All Implemented Interfaces:
Share,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
Share
@Stability(Stable)
@Internal
public static final class Share.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements Share
An implementation for
Share-
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.batch.Share
Share.Builder, Share.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(Share.Builder builder) Constructor that initializes the object based on literal property values passed by theShare.Builder.protectedJsii$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.
-
-
Method Details
-
getWeightFactor
Description copied from interface:ShareThe weight factor given to this Share.The Scheduler decides which jobs to put in the Compute Environment such that the following ratio is equal for each job:
sharevCpu / weightFactor,where
sharevCpuis the total amount of vCPU given to that particular share; that is, the sum of the vCPU of each job currently in the Compute Environment for that share.See the readme of this module for a detailed example that shows how these are used, how it relates to
computeReservation, and howshareDecayaffects these calculations.- Specified by:
getWeightFactorin interfaceShare
-
$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()