Interface GetJobDetailsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodePipelineResponse.Builder,CopyableBuilder<GetJobDetailsResponse.Builder,,GetJobDetailsResponse> SdkBuilder<GetJobDetailsResponse.Builder,,GetJobDetailsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetJobDetailsResponse
@Mutable
@NotThreadSafe
public static interface GetJobDetailsResponse.Builder
extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<GetJobDetailsResponse.Builder,GetJobDetailsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetJobDetailsResponse.BuilderjobDetails(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
jobDetails
The details of the job.
If AWSSessionCredentials is used, a long-running job can call
GetJobDetailsagain to obtain new credentials.- Parameters:
jobDetails- The details of the job.If AWSSessionCredentials is used, a long-running job can call
GetJobDetailsagain 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.
This is a convenience method that creates an instance of theIf AWSSessionCredentials is used, a long-running job can call
GetJobDetailsagain to obtain new credentials.JobDetails.Builderavoiding the need to create one manually viaJobDetails.builder().When the
Consumercompletes,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:
-