Interface GetJobDetailsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodePipelineResponse.Builder
,CopyableBuilder<GetJobDetailsResponse.Builder,
,GetJobDetailsResponse> SdkBuilder<GetJobDetailsResponse.Builder,
,GetJobDetailsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetJobDetailsResponse
public static interface GetJobDetailsResponse.Builder
extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<GetJobDetailsResponse.Builder,GetJobDetailsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetJobDetailsResponse.Builder
jobDetails
(Consumer<JobDetails.Builder> jobDetails) The details of the job.jobDetails
(JobDetails jobDetails) The details of the job.Methods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobDetails
The details of the job.
If AWSSessionCredentials is used, a long-running job can call
GetJobDetails
again to obtain new credentials.- Parameters:
jobDetails
- The details of the job.If AWSSessionCredentials is used, a long-running job can call
GetJobDetails
again to obtain new credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDetails
The details of the job.
If AWSSessionCredentials is used, a long-running job can call
GetJobDetails
again to obtain new credentials.JobDetails.Builder
avoiding the need to create one manually viaJobDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobDetails(JobDetails)
.- Parameters:
jobDetails
- a consumer that will call methods onJobDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-