Interface DescribeJobExecutionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeJobExecutionResponse.Builder,DescribeJobExecutionResponse>
,IotResponse.Builder
,SdkBuilder<DescribeJobExecutionResponse.Builder,DescribeJobExecutionResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeJobExecutionResponse
public static interface DescribeJobExecutionResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeJobExecutionResponse.Builder,DescribeJobExecutionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeJobExecutionResponse.Builder
execution(Consumer<JobExecution.Builder> execution)
Information about the job execution.DescribeJobExecutionResponse.Builder
execution(JobExecution execution)
Information about the job execution.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
execution
DescribeJobExecutionResponse.Builder execution(JobExecution execution)
Information about the job execution.
- Parameters:
execution
- Information about the job execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
execution
default DescribeJobExecutionResponse.Builder execution(Consumer<JobExecution.Builder> execution)
Information about the job execution.
This is a convenience method that creates an instance of theJobExecution.Builder
avoiding the need to create one manually viaJobExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecution(JobExecution)
.- Parameters:
execution
- a consumer that will call methods onJobExecution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
execution(JobExecution)
-
-