@Generated(value="software.amazon.awssdk:codegen") public class RegisterJobDefinitionRequest extends BatchRequest implements ToCopyableBuilder<RegisterJobDefinitionRequest.Builder,RegisterJobDefinitionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RegisterJobDefinitionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RegisterJobDefinitionRequest.Builder |
builder() |
ContainerProperties |
containerProperties()
An object with various properties specific for container-based jobs.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
String |
jobDefinitionName()
The name of the job definition to register.
|
Map<String,String> |
parameters()
Default parameter substitution placeholders to set in the job definition.
|
RetryStrategy |
retryStrategy()
The retry strategy to use for failed jobs that are submitted with this job definition.
|
static Class<? extends RegisterJobDefinitionRequest.Builder> |
serializableBuilderClass() |
RegisterJobDefinitionRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
JobDefinitionType |
type()
The type of job definition.
|
String |
typeAsString()
The type of job definition.
|
requestOverrideConfigcopypublic String jobDefinitionName()
The name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
public JobDefinitionType type()
The type of job definition.
If the service returns an enum value that is not available in the current SDK version, type will return
JobDefinitionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
JobDefinitionTypepublic String typeAsString()
The type of job definition.
If the service returns an enum value that is not available in the current SDK version, type will return
JobDefinitionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
JobDefinitionTypepublic Map<String,String> parameters()
Default parameter substitution placeholders to 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 ContainerProperties containerProperties()
An object with various properties specific for container-based jobs. This parameter is required if the
type parameter is container.
type parameter is container.public RetryStrategy retryStrategy()
The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that is specified during a SubmitJob operation overrides the retry strategy defined here.
public RegisterJobDefinitionRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<RegisterJobDefinitionRequest.Builder,RegisterJobDefinitionRequest>toBuilder in class BatchRequestpublic static RegisterJobDefinitionRequest.Builder builder()
public static Class<? extends RegisterJobDefinitionRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.