Interface StartNextPendingJobExecutionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartNextPendingJobExecutionRequest.Builder,
,StartNextPendingJobExecutionRequest> IotJobsDataPlaneRequest.Builder
,SdkBuilder<StartNextPendingJobExecutionRequest.Builder,
,StartNextPendingJobExecutionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartNextPendingJobExecutionRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.statusDetails
(Map<String, String> statusDetails) A collection of name/value pairs that describe the status of the job execution.stepTimeoutInMinutes
(Long stepTimeoutInMinutes) Specifies the amount of time this device has to finish execution of this job.The name of the thing associated with the device.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotjobsdataplane.model.IotJobsDataPlaneRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
thingName
The name of the thing associated with the device.
- Parameters:
thingName
- The name of the thing associated with the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusDetails
A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.
- Parameters:
statusDetails
- A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepTimeoutInMinutes
Specifies the amount of time this device has to finish execution of this job. If the job execution status is not set to a terminal state before this timer expires, or before the timer is reset (by calling
UpdateJobExecution
, setting the status toIN_PROGRESS
and specifying a new timeout value in fieldstepTimeoutInMinutes
) the job execution status will be automatically set toTIMED_OUT
. Note that setting this timeout has no effect on that job execution timeout which may have been specified when the job was created (CreateJob
using fieldtimeoutConfig
).- Parameters:
stepTimeoutInMinutes
- Specifies the amount of time this device has to finish execution of this job. If the job execution status is not set to a terminal state before this timer expires, or before the timer is reset (by callingUpdateJobExecution
, setting the status toIN_PROGRESS
and specifying a new timeout value in fieldstepTimeoutInMinutes
) the job execution status will be automatically set toTIMED_OUT
. Note that setting this timeout has no effect on that job execution timeout which may have been specified when the job was created (CreateJob
using fieldtimeoutConfig
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartNextPendingJobExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartNextPendingJobExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-