Interface GetJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetJobResponse.Builder,,GetJobResponse> DeviceFarmResponse.Builder,SdkBuilder<GetJobResponse.Builder,,GetJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetJobResponse
public static interface GetJobResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<GetJobResponse.Builder,GetJobResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetJobResponse.Builderjob(Consumer<Job.Builder> job) An object that contains information about the requested job.An object that contains information about the requested job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
job
An object that contains information about the requested job.
- Parameters:
job- An object that contains information about the requested job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
job
An object that contains information about the requested job.
This is a convenience method that creates an instance of theJob.Builderavoiding the need to create one manually viaJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojob(Job).- Parameters:
job- a consumer that will call methods onJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-