Struct aws_sdk_codedeploy::operation::delete_deployment_group::builders::DeleteDeploymentGroupInputBuilder
source · #[non_exhaustive]pub struct DeleteDeploymentGroupInputBuilder { /* private fields */ }
Expand description
A builder for DeleteDeploymentGroupInput
.
Implementations§
source§impl DeleteDeploymentGroupInputBuilder
impl DeleteDeploymentGroupInputBuilder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
This field is required.sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
sourcepub fn deployment_group_name(self, input: impl Into<String>) -> Self
pub fn deployment_group_name(self, input: impl Into<String>) -> Self
The name of a deployment group for the specified application.
This field is required.sourcepub fn set_deployment_group_name(self, input: Option<String>) -> Self
pub fn set_deployment_group_name(self, input: Option<String>) -> Self
The name of a deployment group for the specified application.
sourcepub fn get_deployment_group_name(&self) -> &Option<String>
pub fn get_deployment_group_name(&self) -> &Option<String>
The name of a deployment group for the specified application.
sourcepub fn build(self) -> Result<DeleteDeploymentGroupInput, BuildError>
pub fn build(self) -> Result<DeleteDeploymentGroupInput, BuildError>
Consumes the builder and constructs a DeleteDeploymentGroupInput
.
source§impl DeleteDeploymentGroupInputBuilder
impl DeleteDeploymentGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteDeploymentGroupOutput, SdkError<DeleteDeploymentGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteDeploymentGroupOutput, SdkError<DeleteDeploymentGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteDeploymentGroupInputBuilder
impl Clone for DeleteDeploymentGroupInputBuilder
source§fn clone(&self) -> DeleteDeploymentGroupInputBuilder
fn clone(&self) -> DeleteDeploymentGroupInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DeleteDeploymentGroupInputBuilder
impl Default for DeleteDeploymentGroupInputBuilder
source§fn default() -> DeleteDeploymentGroupInputBuilder
fn default() -> DeleteDeploymentGroupInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteDeploymentGroupInputBuilder
impl PartialEq for DeleteDeploymentGroupInputBuilder
source§fn eq(&self, other: &DeleteDeploymentGroupInputBuilder) -> bool
fn eq(&self, other: &DeleteDeploymentGroupInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteDeploymentGroupInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteDeploymentGroupInputBuilder
impl RefUnwindSafe for DeleteDeploymentGroupInputBuilder
impl Send for DeleteDeploymentGroupInputBuilder
impl Sync for DeleteDeploymentGroupInputBuilder
impl Unpin for DeleteDeploymentGroupInputBuilder
impl UnwindSafe for DeleteDeploymentGroupInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.