Interface UpdateJobExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateJobExecutionResponse.Builder,,UpdateJobExecutionResponse> IotJobsDataPlaneResponse.Builder,SdkBuilder<UpdateJobExecutionResponse.Builder,,UpdateJobExecutionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateJobExecutionResponse
@Mutable
@NotThreadSafe
public static interface UpdateJobExecutionResponse.Builder
extends IotJobsDataPlaneResponse.Builder, SdkPojo, CopyableBuilder<UpdateJobExecutionResponse.Builder,UpdateJobExecutionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionexecutionState(Consumer<JobExecutionState.Builder> executionState) A JobExecutionState object.executionState(JobExecutionState executionState) A JobExecutionState object.jobDocument(String jobDocument) The contents of the Job Documents.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotjobsdataplane.model.IotJobsDataPlaneResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
executionState
A JobExecutionState object.
- Parameters:
executionState- A JobExecutionState object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionState
default UpdateJobExecutionResponse.Builder executionState(Consumer<JobExecutionState.Builder> executionState) A JobExecutionState object.
This is a convenience method that creates an instance of theJobExecutionState.Builderavoiding the need to create one manually viaJobExecutionState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexecutionState(JobExecutionState).- Parameters:
executionState- a consumer that will call methods onJobExecutionState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobDocument
The contents of the Job Documents.
- Parameters:
jobDocument- The contents of the Job Documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-