Interface PollForJobsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodePipelineResponse.Builder,CopyableBuilder<PollForJobsResponse.Builder,PollForJobsResponse>,SdkBuilder<PollForJobsResponse.Builder,PollForJobsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PollForJobsResponse
public static interface PollForJobsResponse.Builder extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<PollForJobsResponse.Builder,PollForJobsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PollForJobsResponse.Builderjobs(Collection<Job> jobs)Information about the jobs to take action on.PollForJobsResponse.Builderjobs(Consumer<Job.Builder>... jobs)Information about the jobs to take action on.PollForJobsResponse.Builderjobs(Job... jobs)Information about the jobs to take action on.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
jobs
PollForJobsResponse.Builder jobs(Collection<Job> jobs)
Information about the jobs to take action on.
- Parameters:
jobs- Information about the jobs to take action on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
PollForJobsResponse.Builder jobs(Job... jobs)
Information about the jobs to take action on.
- Parameters:
jobs- Information about the jobs to take action on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
PollForJobsResponse.Builder jobs(Consumer<Job.Builder>... jobs)
Information about the jobs to take action on.
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 to#jobs(List.) - Parameters:
jobs- 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:
#jobs(java.util.Collection)
-
-