Interface StartBuildBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeBuildResponse.Builder
,CopyableBuilder<StartBuildBatchResponse.Builder,
,StartBuildBatchResponse> SdkBuilder<StartBuildBatchResponse.Builder,
,StartBuildBatchResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartBuildBatchResponse
public static interface StartBuildBatchResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<StartBuildBatchResponse.Builder,StartBuildBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StartBuildBatchResponse.Builder
buildBatch
(Consumer<BuildBatch.Builder> buildBatch) ABuildBatch
object that contains information about the batch build.buildBatch
(BuildBatch buildBatch) ABuildBatch
object that contains information about the batch build.Methods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildResponse.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
-
buildBatch
A
BuildBatch
object that contains information about the batch build.- Parameters:
buildBatch
- ABuildBatch
object that contains information about the batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildBatch
A
This is a convenience method that creates an instance of theBuildBatch
object that contains information about the batch build.BuildBatch.Builder
avoiding the need to create one manually viaBuildBatch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobuildBatch(BuildBatch)
.- Parameters:
buildBatch
- a consumer that will call methods onBuildBatch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-