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.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.Share

    Share.Builder, Share.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the Share.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    The identifier of this Share.
    final Number
    The weight factor given to this Share.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(Share.Builder builder)
      Constructor that initializes the object based on literal property values passed by the Share.Builder.
  • Method Details

    • getShareIdentifier

      public final String getShareIdentifier()
      Description copied from interface: Share
      The identifier of this Share.

      All jobs that specify this share identifier when submitted to the queue will be considered as part of this Share.

      Specified by:
      getShareIdentifier in interface Share
    • getWeightFactor

      public final Number getWeightFactor()
      Description copied from interface: Share
      The 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 sharevCpu is 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 how shareDecay affects these calculations.

      Specified by:
      getWeightFactor in interface Share
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object