public static interface CancelJobRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CancelJobRequest.Builder,CancelJobRequest>
| Modifier and Type | Method and Description |
|---|---|
CancelJobRequest.Builder |
comment(String comment)
An optional comment string describing why the job was canceled.
|
CancelJobRequest.Builder |
force(Boolean force)
(Optional) If
true job executions with status "IN_PROGRESS" and "QUEUED" are canceled, otherwise
only job executions with status "QUEUED" are canceled. |
CancelJobRequest.Builder |
jobId(String jobId)
The unique identifier you assigned to this job when it was created.
|
CancelJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CancelJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CancelJobRequest.Builder |
reasonCode(String reasonCode)
(Optional)A reason code string that explains why the job was canceled.
|
buildoverrideConfigurationcopyapplyMutation, buildCancelJobRequest.Builder jobId(String jobId)
The unique identifier you assigned to this job when it was created.
jobId - The unique identifier you assigned to this job when it was created.CancelJobRequest.Builder reasonCode(String reasonCode)
(Optional)A reason code string that explains why the job was canceled.
reasonCode - (Optional)A reason code string that explains why the job was canceled.CancelJobRequest.Builder comment(String comment)
An optional comment string describing why the job was canceled.
comment - An optional comment string describing why the job was canceled.CancelJobRequest.Builder force(Boolean force)
(Optional) If true job executions with status "IN_PROGRESS" and "QUEUED" are canceled, otherwise
only job executions with status "QUEUED" are canceled. The default is false.
Canceling a job which is "IN_PROGRESS", will cause a device which is executing the job to be unable to update the job execution status. Use caution and ensure that each device executing a job which is canceled is able to recover to a valid state.
force - (Optional) If true job executions with status "IN_PROGRESS" and "QUEUED" are canceled,
otherwise only job executions with status "QUEUED" are canceled. The default is false
.
Canceling a job which is "IN_PROGRESS", will cause a device which is executing the job to be unable to update the job execution status. Use caution and ensure that each device executing a job which is canceled is able to recover to a valid state.
CancelJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CancelJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.