@Generated(value="software.amazon.awssdk:codegen") public final class JobDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobDefinition.Builder,JobDefinition>
An object representing an AWS Batch job definition.
Modifier and Type | Class and Description |
---|---|
static interface |
JobDefinition.Builder |
Modifier and Type | Method and Description |
---|---|
static JobDefinition.Builder |
builder() |
ContainerProperties |
containerProperties()
An object with various properties specific to container-based jobs.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jobDefinitionArn()
The Amazon Resource Name (ARN) for the job definition.
|
String |
jobDefinitionName()
The name of the job definition.
|
NodeProperties |
nodeProperties()
An object with various properties specific to multi-node parallel jobs.
|
Map<String,String> |
parameters()
Default parameters or parameter substitution placeholders that are set in the job definition.
|
RetryStrategy |
retryStrategy()
The retry strategy to use for failed jobs that are submitted with this job definition.
|
Integer |
revision()
The revision of the job definition.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobDefinition.Builder> |
serializableBuilderClass() |
String |
status()
The status of the job definition.
|
JobTimeout |
timeout()
The timeout configuration for jobs that are submitted with this job definition.
|
JobDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of job definition.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String jobDefinitionName()
The name of the job definition.
public String jobDefinitionArn()
The Amazon Resource Name (ARN) for the job definition.
public Integer revision()
The revision of the job definition.
public String status()
The status of the job definition.
public String type()
The type of job definition.
public Map<String,String> parameters()
Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are
specified as a key-value pair mapping. Parameters in a SubmitJob
request override any corresponding
parameter defaults from the job definition. For more information about specifying parameters, see Job Definition
Parameters in the AWS Batch User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
SubmitJob
request override any
corresponding parameter defaults from the job definition. For more information about specifying
parameters, see Job Definition
Parameters in the AWS Batch User Guide.public RetryStrategy retryStrategy()
The retry strategy to use for failed jobs that are submitted with this job definition.
public ContainerProperties containerProperties()
An object with various properties specific to container-based jobs.
public JobTimeout timeout()
The timeout configuration for jobs that are submitted with this job definition. You can specify a timeout duration after which AWS Batch terminates your jobs if they have not finished.
public NodeProperties nodeProperties()
An object with various properties specific to multi-node parallel jobs.
public JobDefinition.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<JobDefinition.Builder,JobDefinition>
public static JobDefinition.Builder builder()
public static Class<? extends JobDefinition.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.