@Generated(value="software.amazon.awssdk:codegen") public class JobDefinition extends Object implements StructuredPojo, 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) |
<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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
static Class<? extends JobDefinition.Builder> |
serializableBuilderClass() |
String |
status()
The status of the job definition.
|
JobDefinition.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
The type of job definition.
|
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.
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.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 JobDefinition.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<JobDefinition.Builder,JobDefinition>
public static JobDefinition.Builder builder()
public static Class<? extends JobDefinition.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.