@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterJobDefinitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RegisterJobDefinitionRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterJobDefinitionRequest |
addParametersEntry(String key,
String value) |
RegisterJobDefinitionRequest |
clearParametersEntries()
Removes all the entries added into Parameters.
|
RegisterJobDefinitionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ContainerProperties |
getContainerProperties()
An object with various properties specific for container-based jobs.
|
String |
getJobDefinitionName()
The name of the job definition to register.
|
Map<String,String> |
getParameters()
Default parameter substitution placeholders to set in the job definition.
|
RetryStrategy |
getRetryStrategy()
The retry strategy to use for failed jobs that are submitted with this job definition.
|
String |
getType()
The type of job definition.
|
int |
hashCode() |
void |
setContainerProperties(ContainerProperties containerProperties)
An object with various properties specific for container-based jobs.
|
void |
setJobDefinitionName(String jobDefinitionName)
The name of the job definition to register.
|
void |
setParameters(Map<String,String> parameters)
Default parameter substitution placeholders to set in the job definition.
|
void |
setRetryStrategy(RetryStrategy retryStrategy)
The retry strategy to use for failed jobs that are submitted with this job definition.
|
void |
setType(JobDefinitionType type)
The type of job definition.
|
void |
setType(String type)
The type of job definition.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RegisterJobDefinitionRequest |
withContainerProperties(ContainerProperties containerProperties)
An object with various properties specific for container-based jobs.
|
RegisterJobDefinitionRequest |
withJobDefinitionName(String jobDefinitionName)
The name of the job definition to register.
|
RegisterJobDefinitionRequest |
withParameters(Map<String,String> parameters)
Default parameter substitution placeholders to set in the job definition.
|
RegisterJobDefinitionRequest |
withRetryStrategy(RetryStrategy retryStrategy)
The retry strategy to use for failed jobs that are submitted with this job definition.
|
RegisterJobDefinitionRequest |
withType(JobDefinitionType type)
The type of job definition.
|
RegisterJobDefinitionRequest |
withType(String type)
The type of job definition.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setJobDefinitionName(String jobDefinitionName)
The name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
jobDefinitionName
- The name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens,
and underscores are allowed.public String getJobDefinitionName()
The name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
public RegisterJobDefinitionRequest withJobDefinitionName(String jobDefinitionName)
The name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
jobDefinitionName
- The name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens,
and underscores are allowed.public void setType(String type)
The type of job definition.
type
- The type of job definition.JobDefinitionType
public String getType()
The type of job definition.
JobDefinitionType
public RegisterJobDefinitionRequest withType(String type)
The type of job definition.
type
- The type of job definition.JobDefinitionType
public void setType(JobDefinitionType type)
The type of job definition.
type
- The type of job definition.JobDefinitionType
public RegisterJobDefinitionRequest withType(JobDefinitionType type)
The type of job definition.
type
- The type of job definition.JobDefinitionType
public Map<String,String> getParameters()
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.
SubmitJob
request override any corresponding
parameter defaults from the job definition.public void setParameters(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.
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.public RegisterJobDefinitionRequest withParameters(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.
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.public RegisterJobDefinitionRequest addParametersEntry(String key, String value)
public RegisterJobDefinitionRequest clearParametersEntries()
public void setContainerProperties(ContainerProperties containerProperties)
An object with various properties specific for container-based jobs. This parameter is required if the
type
parameter is container
.
containerProperties
- An object with various properties specific for container-based jobs. This parameter is required if the
type
parameter is container
.public ContainerProperties getContainerProperties()
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 RegisterJobDefinitionRequest withContainerProperties(ContainerProperties containerProperties)
An object with various properties specific for container-based jobs. This parameter is required if the
type
parameter is container
.
containerProperties
- An object with various properties specific for container-based jobs. This parameter is required if the
type
parameter is container
.public void setRetryStrategy(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.
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 RetryStrategy getRetryStrategy()
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 withRetryStrategy(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.
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 String toString()
toString
in class Object
Object.toString()
public RegisterJobDefinitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.