Interface DeleteBuildBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeBuildResponse.Builder,CopyableBuilder<DeleteBuildBatchResponse.Builder,,DeleteBuildBatchResponse> SdkBuilder<DeleteBuildBatchResponse.Builder,,DeleteBuildBatchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteBuildBatchResponse
@Mutable
@NotThreadSafe
public static interface DeleteBuildBatchResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<DeleteBuildBatchResponse.Builder,DeleteBuildBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbuildsDeleted(String... buildsDeleted) An array of strings that contain the identifiers of the builds that were deleted.buildsDeleted(Collection<String> buildsDeleted) An array of strings that contain the identifiers of the builds that were deleted.buildsNotDeleted(Collection<BuildNotDeleted> buildsNotDeleted) An array ofBuildNotDeletedobjects that specify the builds that could not be deleted.buildsNotDeleted(Consumer<BuildNotDeleted.Builder>... buildsNotDeleted) An array ofBuildNotDeletedobjects that specify the builds that could not be deleted.buildsNotDeleted(BuildNotDeleted... buildsNotDeleted) An array ofBuildNotDeletedobjects that specify the builds that could not be deleted.statusCode(String statusCodeValue) The status code.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
-
statusCode
The status code.
- Parameters:
statusCodeValue- The status code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildsDeleted
An array of strings that contain the identifiers of the builds that were deleted.
- Parameters:
buildsDeleted- An array of strings that contain the identifiers of the builds that were deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildsDeleted
An array of strings that contain the identifiers of the builds that were deleted.
- Parameters:
buildsDeleted- An array of strings that contain the identifiers of the builds that were deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildsNotDeleted
An array of
BuildNotDeletedobjects that specify the builds that could not be deleted.- Parameters:
buildsNotDeleted- An array ofBuildNotDeletedobjects that specify the builds that could not be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildsNotDeleted
An array of
BuildNotDeletedobjects that specify the builds that could not be deleted.- Parameters:
buildsNotDeleted- An array ofBuildNotDeletedobjects that specify the builds that could not be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildsNotDeleted
DeleteBuildBatchResponse.Builder buildsNotDeleted(Consumer<BuildNotDeleted.Builder>... buildsNotDeleted) An array of
This is a convenience method that creates an instance of theBuildNotDeletedobjects that specify the builds that could not be deleted.BuildNotDeleted.Builderavoiding the need to create one manually viaBuildNotDeleted.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuildsNotDeleted(List<BuildNotDeleted>).- Parameters:
buildsNotDeleted- a consumer that will call methods onBuildNotDeleted.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-