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
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CustomReason.Builder builder) Constructor that initializes the object based on literal property values passed by theCustomReason.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 TypeMethodDescriptioncom.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
hashCode()
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 theCustomReason.Builder
.
-
-
Method Details
-
getOnExitCode
Description copied from interface:CustomReason
A glob string that will match on the job exit code.For example,
'40*'
will match 400, 404, 40123456789012Default: - will not match on the exit code
- Specified by:
getOnExitCode
in interfaceCustomReason
-
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 interfaceCustomReason
-
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 interfaceCustomReason
-
$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()
-