Struct aws_sdk_codedeploy::operation::batch_get_deployment_targets::builders::BatchGetDeploymentTargetsOutputBuilder
source · #[non_exhaustive]pub struct BatchGetDeploymentTargetsOutputBuilder { /* private fields */ }
Expand description
A builder for BatchGetDeploymentTargetsOutput
.
Implementations§
source§impl BatchGetDeploymentTargetsOutputBuilder
impl BatchGetDeploymentTargetsOutputBuilder
sourcepub fn deployment_targets(self, input: DeploymentTarget) -> Self
pub fn deployment_targets(self, input: DeploymentTarget) -> Self
Appends an item to deployment_targets
.
To override the contents of this collection use set_deployment_targets
.
A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform.
-
EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance.
-
Lambda: The target object is a specific version of an Lambda function.
-
Amazon ECS: The target object is an Amazon ECS service.
-
CloudFormation: The target object is an CloudFormation blue/green deployment.
sourcepub fn set_deployment_targets(
self,
input: Option<Vec<DeploymentTarget>>,
) -> Self
pub fn set_deployment_targets( self, input: Option<Vec<DeploymentTarget>>, ) -> Self
A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform.
-
EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance.
-
Lambda: The target object is a specific version of an Lambda function.
-
Amazon ECS: The target object is an Amazon ECS service.
-
CloudFormation: The target object is an CloudFormation blue/green deployment.
sourcepub fn get_deployment_targets(&self) -> &Option<Vec<DeploymentTarget>>
pub fn get_deployment_targets(&self) -> &Option<Vec<DeploymentTarget>>
A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform.
-
EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance.
-
Lambda: The target object is a specific version of an Lambda function.
-
Amazon ECS: The target object is an Amazon ECS service.
-
CloudFormation: The target object is an CloudFormation blue/green deployment.
sourcepub fn build(self) -> BatchGetDeploymentTargetsOutput
pub fn build(self) -> BatchGetDeploymentTargetsOutput
Consumes the builder and constructs a BatchGetDeploymentTargetsOutput
.
Trait Implementations§
source§impl Clone for BatchGetDeploymentTargetsOutputBuilder
impl Clone for BatchGetDeploymentTargetsOutputBuilder
source§fn clone(&self) -> BatchGetDeploymentTargetsOutputBuilder
fn clone(&self) -> BatchGetDeploymentTargetsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchGetDeploymentTargetsOutputBuilder
impl Default for BatchGetDeploymentTargetsOutputBuilder
source§fn default() -> BatchGetDeploymentTargetsOutputBuilder
fn default() -> BatchGetDeploymentTargetsOutputBuilder
source§impl PartialEq for BatchGetDeploymentTargetsOutputBuilder
impl PartialEq for BatchGetDeploymentTargetsOutputBuilder
source§fn eq(&self, other: &BatchGetDeploymentTargetsOutputBuilder) -> bool
fn eq(&self, other: &BatchGetDeploymentTargetsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetDeploymentTargetsOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetDeploymentTargetsOutputBuilder
impl RefUnwindSafe for BatchGetDeploymentTargetsOutputBuilder
impl Send for BatchGetDeploymentTargetsOutputBuilder
impl Sync for BatchGetDeploymentTargetsOutputBuilder
impl Unpin for BatchGetDeploymentTargetsOutputBuilder
impl UnwindSafe for BatchGetDeploymentTargetsOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more