Class CustomReason.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.batch.CustomReason.Jsii$Proxy
All Implemented Interfaces:
CustomReason, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CustomReason

@Stability(Stable) @Internal public static final class CustomReason.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CustomReason
An implementation for CustomReason
  • 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.CustomReason

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CustomReason.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
    A glob string that will match on the job exit code.
    final String
    A glob string that will match on the reason returned by the exiting job For example, 'CannotPullContainerError*' indicates that container needed to start the job could not be pulled.
    final String
    A glob string that will match on the statusReason returned by the exiting job.
    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(CustomReason.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CustomReason.Builder.
  • Method Details

    • getOnExitCode

      public final String getOnExitCode()
      Description copied from interface: CustomReason
      A glob string that will match on the job exit code.

      For example, '40*' will match 400, 404, 40123456789012

      Default: - will not match on the exit code

      Specified by:
      getOnExitCode in interface CustomReason
    • getOnReason

      public final String getOnReason()
      Description copied from interface: CustomReason
      A glob string that will match on the reason returned by the exiting job For example, 'CannotPullContainerError*' indicates that container needed to start the job could not be pulled.

      Default: - will not match on the reason

      Specified by:
      getOnReason in interface CustomReason
    • getOnStatusReason

      public final String getOnStatusReason()
      Description copied from interface: CustomReason
      A glob string that will match on the statusReason returned by the exiting job.

      For example, 'Host EC2*' indicates that the spot instance has been reclaimed.

      Default: - will not match on the status reason

      Specified by:
      getOnStatusReason in interface CustomReason
    • $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