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) |
CancelJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CancelJobRequest.Builder |
reasonCode(String reasonCode)
(Optional)A reason code string that explains why the job was canceled.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CancelJobRequest.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)
overrideConfiguration
in interface AwsRequest.Builder
CancelJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.