#[non_exhaustive]pub struct DeleteProjectInputBuilder { /* private fields */ }
Expand description
A builder for DeleteProjectInput
.
Implementations§
source§impl DeleteProjectInputBuilder
impl DeleteProjectInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the project to be deleted in AWS CodeStar.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of the project to be deleted in AWS CodeStar.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.
sourcepub fn delete_stack(self, input: bool) -> Self
pub fn delete_stack(self, input: bool) -> Self
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.
sourcepub fn set_delete_stack(self, input: Option<bool>) -> Self
pub fn set_delete_stack(self, input: Option<bool>) -> Self
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.
sourcepub fn get_delete_stack(&self) -> &Option<bool>
pub fn get_delete_stack(&self) -> &Option<bool>
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.
sourcepub fn build(self) -> Result<DeleteProjectInput, BuildError>
pub fn build(self) -> Result<DeleteProjectInput, BuildError>
Consumes the builder and constructs a DeleteProjectInput
.
source§impl DeleteProjectInputBuilder
impl DeleteProjectInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteProjectOutput, SdkError<DeleteProjectError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteProjectOutput, SdkError<DeleteProjectError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteProjectInputBuilder
impl Clone for DeleteProjectInputBuilder
source§fn clone(&self) -> DeleteProjectInputBuilder
fn clone(&self) -> DeleteProjectInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteProjectInputBuilder
impl Debug for DeleteProjectInputBuilder
source§impl Default for DeleteProjectInputBuilder
impl Default for DeleteProjectInputBuilder
source§fn default() -> DeleteProjectInputBuilder
fn default() -> DeleteProjectInputBuilder
source§impl PartialEq<DeleteProjectInputBuilder> for DeleteProjectInputBuilder
impl PartialEq<DeleteProjectInputBuilder> for DeleteProjectInputBuilder
source§fn eq(&self, other: &DeleteProjectInputBuilder) -> bool
fn eq(&self, other: &DeleteProjectInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.