Struct aws_sdk_codedeploy::operation::get_deployment_group::builders::GetDeploymentGroupInputBuilder
source · #[non_exhaustive]pub struct GetDeploymentGroupInputBuilder { /* private fields */ }
Expand description
A builder for GetDeploymentGroupInput
.
Implementations§
source§impl GetDeploymentGroupInputBuilder
impl GetDeploymentGroupInputBuilder
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<GetDeploymentGroupInput, BuildError>
pub fn build(self) -> Result<GetDeploymentGroupInput, BuildError>
Consumes the builder and constructs a GetDeploymentGroupInput
.
source§impl GetDeploymentGroupInputBuilder
impl GetDeploymentGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetDeploymentGroupOutput, SdkError<GetDeploymentGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetDeploymentGroupOutput, SdkError<GetDeploymentGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDeploymentGroupInputBuilder
impl Clone for GetDeploymentGroupInputBuilder
source§fn clone(&self) -> GetDeploymentGroupInputBuilder
fn clone(&self) -> GetDeploymentGroupInputBuilder
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 GetDeploymentGroupInputBuilder
impl Default for GetDeploymentGroupInputBuilder
source§fn default() -> GetDeploymentGroupInputBuilder
fn default() -> GetDeploymentGroupInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetDeploymentGroupInputBuilder
impl PartialEq for GetDeploymentGroupInputBuilder
source§fn eq(&self, other: &GetDeploymentGroupInputBuilder) -> bool
fn eq(&self, other: &GetDeploymentGroupInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDeploymentGroupInputBuilder
Auto Trait Implementations§
impl Freeze for GetDeploymentGroupInputBuilder
impl RefUnwindSafe for GetDeploymentGroupInputBuilder
impl Send for GetDeploymentGroupInputBuilder
impl Sync for GetDeploymentGroupInputBuilder
impl Unpin for GetDeploymentGroupInputBuilder
impl UnwindSafe for GetDeploymentGroupInputBuilder
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.