Class UpdateJobRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iot.model.IotRequest
-
- software.amazon.awssdk.services.iot.model.UpdateJobRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateJobRequest extends IotRequest implements ToCopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UpdateJobRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AbortConfig
abortConfig()
Allows you to create criteria to abort a job.static UpdateJobRequest.Builder
builder()
String
description()
A short text description of the job.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
JobExecutionsRetryConfig
jobExecutionsRetryConfig()
Allows you to create the criteria to retry a job.JobExecutionsRolloutConfig
jobExecutionsRolloutConfig()
Allows you to create a staged rollout of the job.String
jobId()
The ID of the job to be updated.String
namespaceId()
The namespace used to indicate that a job is a customer-managed job.PresignedUrlConfig
presignedUrlConfig()
Configuration information for pre-signed S3 URLs.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends UpdateJobRequest.Builder>
serializableBuilderClass()
TimeoutConfig
timeoutConfig()
Specifies the amount of time each device has to finish its execution of the job.UpdateJobRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
jobId
public final String jobId()
The ID of the job to be updated.
- Returns:
- The ID of the job to be updated.
-
description
public final String description()
A short text description of the job.
- Returns:
- A short text description of the job.
-
presignedUrlConfig
public final PresignedUrlConfig presignedUrlConfig()
Configuration information for pre-signed S3 URLs.
- Returns:
- Configuration information for pre-signed S3 URLs.
-
jobExecutionsRolloutConfig
public final JobExecutionsRolloutConfig jobExecutionsRolloutConfig()
Allows you to create a staged rollout of the job.
- Returns:
- Allows you to create a staged rollout of the job.
-
abortConfig
public final AbortConfig abortConfig()
Allows you to create criteria to abort a job.
- Returns:
- Allows you to create criteria to abort a job.
-
timeoutConfig
public final 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 toTIMED_OUT
.- Returns:
- 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 toTIMED_OUT
.
-
namespaceId
public final 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.- Returns:
- 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.
-
jobExecutionsRetryConfig
public final JobExecutionsRetryConfig jobExecutionsRetryConfig()
Allows you to create the criteria to retry a job.
- Returns:
- Allows you to create the criteria to retry a job.
-
toBuilder
public UpdateJobRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>
- Specified by:
toBuilder
in classIotRequest
-
builder
public static UpdateJobRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateJobRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-