Class JobStateTimeLimitAction.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.batch.JobStateTimeLimitAction.Jsii$Proxy
- All Implemented Interfaces:
JobStateTimeLimitAction
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
JobStateTimeLimitAction
@Stability(Stable)
@Internal
public static final class JobStateTimeLimitAction.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements JobStateTimeLimitAction
An implementation for
JobStateTimeLimitAction
-
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.JobStateTimeLimitAction
JobStateTimeLimitAction.Builder, JobStateTimeLimitAction.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theJobStateTimeLimitAction.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
The action to take when a job is at the head of the job queue in the specified state for the specified period of time.final Duration
The approximate amount of time, that must pass with the job in the specified state before the action is taken.The reason to log for the action being taken.getState()
The state of the job needed to trigger the action.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 theJobStateTimeLimitAction.Builder
.
-
-
Method Details
-
getMaxTime
Description copied from interface:JobStateTimeLimitAction
The approximate amount of time, that must pass with the job in the specified state before the action is taken.The minimum value is 10 minutes and the maximum value is 24 hours.
- Specified by:
getMaxTime
in interfaceJobStateTimeLimitAction
-
getReason
Description copied from interface:JobStateTimeLimitAction
The reason to log for the action being taken.- Specified by:
getReason
in interfaceJobStateTimeLimitAction
- See Also:
-
getAction
Description copied from interface:JobStateTimeLimitAction
The action to take when a job is at the head of the job queue in the specified state for the specified period of time.Default: JobStateTimeLimitActionsAction.CANCEL
- Specified by:
getAction
in interfaceJobStateTimeLimitAction
-
getState
Description copied from interface:JobStateTimeLimitAction
The state of the job needed to trigger the action.Default: JobStateTimeLimitActionsState.RUNNABLE
- Specified by:
getState
in interfaceJobStateTimeLimitAction
-
$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()
-