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 Details

    • jobDetails

      GetJobDetailsResponse.Builder jobDetails(JobDetails 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

      default GetJobDetailsResponse.Builder jobDetails(Consumer<JobDetails.Builder> jobDetails)

      The details of the job.

      If AWSSessionCredentials is used, a long-running job can call GetJobDetails again to obtain new credentials.

      This is a convenience method that creates an instance of the JobDetails.Builder avoiding the need to create one manually via JobDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to jobDetails(JobDetails).

      Parameters:
      jobDetails - a consumer that will call methods on JobDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: