@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateJobRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AbortConfig |
getAbortConfig()
Allows you to create criteria to abort a job.
|
String |
getDescription()
A short text description of the job.
|
JobExecutionsRetryConfig |
getJobExecutionsRetryConfig()
Allows you to create the criteria to retry a job.
|
JobExecutionsRolloutConfig |
getJobExecutionsRolloutConfig()
Allows you to create a staged rollout of the job.
|
String |
getJobId()
The ID of the job to be updated.
|
String |
getNamespaceId()
The namespace used to indicate that a job is a customer-managed job.
|
PresignedUrlConfig |
getPresignedUrlConfig()
Configuration information for pre-signed S3 URLs.
|
TimeoutConfig |
getTimeoutConfig()
Specifies the amount of time each device has to finish its execution of the job.
|
int |
hashCode() |
void |
setAbortConfig(AbortConfig abortConfig)
Allows you to create criteria to abort a job.
|
void |
setDescription(String description)
A short text description of the job.
|
void |
setJobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
|
void |
setJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of the job.
|
void |
setJobId(String jobId)
The ID of the job to be updated.
|
void |
setNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
void |
setPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration information for pre-signed S3 URLs.
|
void |
setTimeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job.
|
String |
toString()
Returns a string representation of this object.
|
UpdateJobRequest |
withAbortConfig(AbortConfig abortConfig)
Allows you to create criteria to abort a job.
|
UpdateJobRequest |
withDescription(String description)
A short text description of the job.
|
UpdateJobRequest |
withJobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
|
UpdateJobRequest |
withJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of the job.
|
UpdateJobRequest |
withJobId(String jobId)
The ID of the job to be updated.
|
UpdateJobRequest |
withNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
UpdateJobRequest |
withPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration information for pre-signed S3 URLs.
|
UpdateJobRequest |
withTimeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job.
|
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 setJobId(String jobId)
The ID of the job to be updated.
jobId
- The ID of the job to be updated.public String getJobId()
The ID of the job to be updated.
public UpdateJobRequest withJobId(String jobId)
The ID of the job to be updated.
jobId
- The ID of the job to be updated.public void setDescription(String description)
A short text description of the job.
description
- A short text description of the job.public String getDescription()
A short text description of the job.
public UpdateJobRequest withDescription(String description)
A short text description of the job.
description
- A short text description of the job.public void setPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration information for pre-signed S3 URLs.
presignedUrlConfig
- Configuration information for pre-signed S3 URLs.public PresignedUrlConfig getPresignedUrlConfig()
Configuration information for pre-signed S3 URLs.
public UpdateJobRequest withPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration information for pre-signed S3 URLs.
presignedUrlConfig
- Configuration information for pre-signed S3 URLs.public void setJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of the job.
jobExecutionsRolloutConfig
- Allows you to create a staged rollout of the job.public JobExecutionsRolloutConfig getJobExecutionsRolloutConfig()
Allows you to create a staged rollout of the job.
public UpdateJobRequest withJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of the job.
jobExecutionsRolloutConfig
- Allows you to create a staged rollout of the job.public void setAbortConfig(AbortConfig abortConfig)
Allows you to create criteria to abort a job.
abortConfig
- Allows you to create criteria to abort a job.public AbortConfig getAbortConfig()
Allows you to create criteria to abort a job.
public UpdateJobRequest withAbortConfig(AbortConfig abortConfig)
Allows you to create criteria to abort a job.
abortConfig
- Allows you to create criteria to abort a job.public void setTimeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job. The timer is started when the
job execution status is set to IN_PROGRESS
. If the job execution status is not set to another
terminal state before the time expires, it will be automatically set to TIMED_OUT
.
timeoutConfig
- Specifies the amount of time each device has to finish its execution of the job. The timer is started when
the job execution status is set to IN_PROGRESS
. If the job execution status is not set to
another terminal state before the time expires, it will be automatically set to TIMED_OUT
.public TimeoutConfig getTimeoutConfig()
Specifies the amount of time each device has to finish its execution of the job. The timer is started when the
job execution status is set to IN_PROGRESS
. If the job execution status is not set to another
terminal state before the time expires, it will be automatically set to TIMED_OUT
.
IN_PROGRESS
. If the job execution status is not set
to another terminal state before the time expires, it will be automatically set to TIMED_OUT
.public UpdateJobRequest withTimeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job. The timer is started when the
job execution status is set to IN_PROGRESS
. If the job execution status is not set to another
terminal state before the time expires, it will be automatically set to TIMED_OUT
.
timeoutConfig
- Specifies the amount of time each device has to finish its execution of the job. The timer is started when
the job execution status is set to IN_PROGRESS
. If the job execution status is not set to
another terminal state before the time expires, it will be automatically set to TIMED_OUT
.public void setNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is only supported by IoT Greengrass at this time. For more information, see
Setting up IoT Greengrass core
devices.
namespaceId
- The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is only supported by IoT Greengrass at this time. For more
information, see Setting up IoT Greengrass
core devices.
public String getNamespaceId()
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is only supported by IoT Greengrass at this time. For more information, see
Setting up IoT Greengrass core
devices.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is only supported by IoT Greengrass at this time. For more
information, see Setting up IoT Greengrass
core devices.
public UpdateJobRequest withNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is only supported by IoT Greengrass at this time. For more information, see
Setting up IoT Greengrass core
devices.
namespaceId
- The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is only supported by IoT Greengrass at this time. For more
information, see Setting up IoT Greengrass
core devices.
public void setJobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
jobExecutionsRetryConfig
- Allows you to create the criteria to retry a job.public JobExecutionsRetryConfig getJobExecutionsRetryConfig()
Allows you to create the criteria to retry a job.
public UpdateJobRequest withJobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
jobExecutionsRetryConfig
- Allows you to create the criteria to retry a job.public String toString()
toString
in class Object
Object.toString()
public UpdateJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()