Interface StartBuildBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeBuildResponse.Builder,CopyableBuilder<StartBuildBatchResponse.Builder,,StartBuildBatchResponse> SdkBuilder<StartBuildBatchResponse.Builder,,StartBuildBatchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartBuildBatchResponse
@Mutable
@NotThreadSafe
public static interface StartBuildBatchResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<StartBuildBatchResponse.Builder,StartBuildBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StartBuildBatchResponse.BuilderbuildBatch(Consumer<BuildBatch.Builder> buildBatch) ABuildBatchobject that contains information about the batch build.buildBatch(BuildBatch buildBatch) ABuildBatchobject that contains information about the batch build.Methods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildResponse.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
-
buildBatch
A
BuildBatchobject that contains information about the batch build.- Parameters:
buildBatch- ABuildBatchobject 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 theBuildBatchobject that contains information about the batch build.BuildBatch.Builderavoiding the need to create one manually viaBuildBatch.builder().When the
Consumercompletes,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:
-