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