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 ==
.