Interface StopBuildBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeBuildResponse.Builder,CopyableBuilder<StopBuildBatchResponse.Builder,,StopBuildBatchResponse> SdkBuilder<StopBuildBatchResponse.Builder,,StopBuildBatchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StopBuildBatchResponse
public static interface StopBuildBatchResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<StopBuildBatchResponse.Builder,StopBuildBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StopBuildBatchResponse.BuilderbuildBatch(Consumer<BuildBatch.Builder> buildBatch) Sets the value of the BuildBatch property for this object.buildBatch(BuildBatch buildBatch) Sets the value of the BuildBatch property for this object.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
buildBatch
Sets the value of the BuildBatch property for this object.- Parameters:
buildBatch- The new value for the BuildBatch property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildBatch
Sets the value of the BuildBatch property for this object. This is a convenience method that creates an instance of theBuildBatch.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:
-