Class CfnSchedulingPolicy.FairsharePolicyProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.batch.CfnSchedulingPolicy.FairsharePolicyProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnSchedulingPolicy.FairsharePolicyProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnSchedulingPolicy.FairsharePolicyProperty
@Stability(Stable)
@Internal
public static final class CfnSchedulingPolicy.FairsharePolicyProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnSchedulingPolicy.FairsharePolicyProperty
An implementation for
CfnSchedulingPolicy.FairsharePolicyProperty-
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.CfnSchedulingPolicy.FairsharePolicyProperty
CfnSchedulingPolicy.FairsharePolicyProperty.Builder, CfnSchedulingPolicy.FairsharePolicyProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnSchedulingPolicy.FairsharePolicyProperty.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 NumberA value used to reserve some of the available maximum vCPU for share identifiers that aren't already used.final NumberThe amount of time (in seconds) to use to calculate a fair-share percentage for each share identifier in use.final ObjectAn array ofSharedIdentifierobjects that contain the weights for the share identifiers for the fair-share policy.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.
-
-
Method Details
-
getComputeReservation
Description copied from interface:CfnSchedulingPolicy.FairsharePolicyPropertyA value used to reserve some of the available maximum vCPU for share identifiers that aren't already used.The reserved ratio is
( *computeReservation* /100)^ *ActiveFairShares*where*ActiveFairShares*is the number of active share identifiers.For example, a
computeReservationvalue of 50 indicates that AWS Batch reserves 50% of the maximum available vCPU if there's only one share identifier. It reserves 25% if there are two share identifiers. It reserves 12.5% if there are three share identifiers. AcomputeReservationvalue of 25 indicates that AWS Batch should reserve 25% of the maximum available vCPU if there's only one share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three share identifiers.The minimum value is 0 and the maximum value is 99.
- Specified by:
getComputeReservationin interfaceCfnSchedulingPolicy.FairsharePolicyProperty- 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()
-