Interface PollForThirdPartyJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodePipelineResponse.Builder,CopyableBuilder<PollForThirdPartyJobsResponse.Builder,,PollForThirdPartyJobsResponse> SdkBuilder<PollForThirdPartyJobsResponse.Builder,,PollForThirdPartyJobsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PollForThirdPartyJobsResponse
@Mutable
@NotThreadSafe
public static interface PollForThirdPartyJobsResponse.Builder
extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<PollForThirdPartyJobsResponse.Builder,PollForThirdPartyJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobs(Collection<ThirdPartyJob> jobs) Information about the jobs to take action on.jobs(Consumer<ThirdPartyJob.Builder>... jobs) Information about the jobs to take action on.jobs(ThirdPartyJob... jobs) Information about the jobs to take action on.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
-
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
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
Information about the jobs to take action on.
This is a convenience method that creates an instance of theThirdPartyJob.Builderavoiding the need to create one manually viaThirdPartyJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobs(List<ThirdPartyJob>).- Parameters:
jobs- a consumer that will call methods onThirdPartyJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-