Interface UpdateJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateJobRequest.Builder,,UpdateJobRequest> IotRequest.Builder,SdkBuilder<UpdateJobRequest.Builder,,UpdateJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateJobRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateJobRequest.BuilderabortConfig(Consumer<AbortConfig.Builder> abortConfig) Allows you to create criteria to abort a job.abortConfig(AbortConfig abortConfig) Allows you to create criteria to abort a job.description(String description) A short text description of the job.default UpdateJobRequest.BuilderjobExecutionsRetryConfig(Consumer<JobExecutionsRetryConfig.Builder> jobExecutionsRetryConfig) Allows you to create the criteria to retry a job.jobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig) Allows you to create the criteria to retry a job.default UpdateJobRequest.BuilderjobExecutionsRolloutConfig(Consumer<JobExecutionsRolloutConfig.Builder> jobExecutionsRolloutConfig) Allows you to create a staged rollout of the job.jobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig) Allows you to create a staged rollout of the job.The ID of the job to be updated.namespaceId(String namespaceId) The namespace used to indicate that a job is a customer-managed job.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateJobRequest.BuilderpresignedUrlConfig(Consumer<PresignedUrlConfig.Builder> presignedUrlConfig) Configuration information for pre-signed S3 URLs.presignedUrlConfig(PresignedUrlConfig presignedUrlConfig) Configuration information for pre-signed S3 URLs.default UpdateJobRequest.BuildertimeoutConfig(Consumer<TimeoutConfig.Builder> timeoutConfig) Specifies the amount of time each device has to finish its execution of the job.timeoutConfig(TimeoutConfig timeoutConfig) Specifies the amount of time each device has to finish its execution of the job.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
jobId
The ID of the job to be updated.
- Parameters:
jobId- The ID of the job to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A short text description of the job.
- Parameters:
description- A short text description of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
presignedUrlConfig
Configuration information for pre-signed S3 URLs.
- Parameters:
presignedUrlConfig- Configuration information for pre-signed S3 URLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
presignedUrlConfig
default UpdateJobRequest.Builder presignedUrlConfig(Consumer<PresignedUrlConfig.Builder> presignedUrlConfig) Configuration information for pre-signed S3 URLs.
This is a convenience method that creates an instance of thePresignedUrlConfig.Builderavoiding the need to create one manually viaPresignedUrlConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topresignedUrlConfig(PresignedUrlConfig).- Parameters:
presignedUrlConfig- a consumer that will call methods onPresignedUrlConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobExecutionsRolloutConfig
UpdateJobRequest.Builder jobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig) Allows you to create a staged rollout of the job.
- Parameters:
jobExecutionsRolloutConfig- Allows you to create a staged rollout of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobExecutionsRolloutConfig
default UpdateJobRequest.Builder jobExecutionsRolloutConfig(Consumer<JobExecutionsRolloutConfig.Builder> jobExecutionsRolloutConfig) Allows you to create a staged rollout of the job.
This is a convenience method that creates an instance of theJobExecutionsRolloutConfig.Builderavoiding the need to create one manually viaJobExecutionsRolloutConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobExecutionsRolloutConfig(JobExecutionsRolloutConfig).- Parameters:
jobExecutionsRolloutConfig- a consumer that will call methods onJobExecutionsRolloutConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
abortConfig
Allows you to create criteria to abort a job.
- Parameters:
abortConfig- Allows you to create criteria to abort a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
abortConfig
Allows you to create criteria to abort a job.
This is a convenience method that creates an instance of theAbortConfig.Builderavoiding the need to create one manually viaAbortConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toabortConfig(AbortConfig).- Parameters:
abortConfig- a consumer that will call methods onAbortConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 toIN_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:
- Returns a reference to this object so that method calls can be chained together.
-
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
This is a convenience method that creates an instance of theIN_PROGRESS. If the job execution status is not set to another terminal state before the time expires, it will be automatically set toTIMED_OUT.TimeoutConfig.Builderavoiding the need to create one manually viaTimeoutConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeoutConfig(TimeoutConfig).- Parameters:
timeoutConfig- a consumer that will call methods onTimeoutConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
namespaceIdfeature is only supported by IoT Greengrass at this time. For more information, see Setting up IoT Greengrass core devices.- Parameters:
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
namespaceIdfeature is only supported by IoT Greengrass at this time. For more information, see Setting up IoT Greengrass core devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobExecutionsRetryConfig
UpdateJobRequest.Builder jobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig) Allows you to create the criteria to retry a job.
- Parameters:
jobExecutionsRetryConfig- Allows you to create the criteria to retry a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobExecutionsRetryConfig
default UpdateJobRequest.Builder jobExecutionsRetryConfig(Consumer<JobExecutionsRetryConfig.Builder> jobExecutionsRetryConfig) Allows you to create the criteria to retry a job.
This is a convenience method that creates an instance of theJobExecutionsRetryConfig.Builderavoiding the need to create one manually viaJobExecutionsRetryConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobExecutionsRetryConfig(JobExecutionsRetryConfig).- Parameters:
jobExecutionsRetryConfig- a consumer that will call methods onJobExecutionsRetryConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-