Interface CreateJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateJobResponse.Builder,,CreateJobResponse> ElasticTranscoderResponse.Builder,SdkBuilder<CreateJobResponse.Builder,,CreateJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateJobResponse
public static interface CreateJobResponse.Builder
extends ElasticTranscoderResponse.Builder, SdkPojo, CopyableBuilder<CreateJobResponse.Builder,CreateJobResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateJobResponse.Builderjob(Consumer<Job.Builder> job) A section of the response body that provides information about the job that is created.A section of the response body that provides information about the job that is created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elastictranscoder.model.ElasticTranscoderResponse.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
A section of the response body that provides information about the job that is created.
- Parameters:
job- A section of the response body that provides information about the job that is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
job
A section of the response body that provides information about the job that is created.
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:
-