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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codestar.model.CodeStarRequest.Builder
buildMethods 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, 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-