Interface RetryBuildBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeBuildResponse.Builder
,CopyableBuilder<RetryBuildBatchResponse.Builder,
,RetryBuildBatchResponse> SdkBuilder<RetryBuildBatchResponse.Builder,
,RetryBuildBatchResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
RetryBuildBatchResponse
public static interface RetryBuildBatchResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<RetryBuildBatchResponse.Builder,RetryBuildBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RetryBuildBatchResponse.Builder
buildBatch
(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, 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
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.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:
-