Interface DeleteProjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeStarRequest.Builder
,CopyableBuilder<DeleteProjectRequest.Builder,
,DeleteProjectRequest> SdkBuilder<DeleteProjectRequest.Builder,
,DeleteProjectRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteProjectRequest
public static interface DeleteProjectRequest.Builder
extends CodeStarRequest.Builder, SdkPojo, CopyableBuilder<DeleteProjectRequest.Builder,DeleteProjectRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) A user- or system-generated token that identifies the entity that requested project deletion.deleteStack
(Boolean deleteStack) Whether to send a delete request for the primary stack in AWS CloudFormation originally used to generate the project and its resources.The ID of the project to be deleted in AWS CodeStar.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codestar.model.CodeStarRequest.Builder
build
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
-
Method Details
-
id
The ID of the project to be deleted in AWS CodeStar.
- Parameters:
id
- The ID of the project to be deleted in AWS CodeStar.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.
- Parameters:
clientRequestToken
- A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteStack
Whether to send a delete request for the primary stack in AWS CloudFormation originally used to generate the project and its resources. This option will delete all AWS resources for the project (except for any buckets in Amazon S3) as well as deleting the project itself. Recommended for most use cases.
- Parameters:
deleteStack
- Whether to send a delete request for the primary stack in AWS CloudFormation originally used to generate the project and its resources. This option will delete all AWS resources for the project (except for any buckets in Amazon S3) as well as deleting the project itself. Recommended for most use cases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteProjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteProjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-