Struct aws_sdk_codedeploy::operation::batch_get_deployment_targets::builders::BatchGetDeploymentTargetsInputBuilder
source · #[non_exhaustive]pub struct BatchGetDeploymentTargetsInputBuilder { /* private fields */ }
Expand description
A builder for BatchGetDeploymentTargetsInput
.
Implementations§
source§impl BatchGetDeploymentTargetsInputBuilder
impl BatchGetDeploymentTargetsInputBuilder
sourcepub fn deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The unique ID of a deployment.
This field is required.sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The unique ID of a deployment.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The unique ID of a deployment.
sourcepub fn target_ids(self, input: impl Into<String>) -> Self
pub fn target_ids(self, input: impl Into<String>) -> Self
Appends an item to target_ids
.
To override the contents of this collection use set_target_ids
.
The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
-
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises instances IDs, and their target type is
instanceTarget
. -
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is
instanceTarget
. -
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format
. Their target type is: ecsTarget
. -
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget
.
sourcepub fn set_target_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_target_ids(self, input: Option<Vec<String>>) -> Self
The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
-
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises instances IDs, and their target type is
instanceTarget
. -
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is
instanceTarget
. -
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format
. Their target type is: ecsTarget
. -
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget
.
sourcepub fn get_target_ids(&self) -> &Option<Vec<String>>
pub fn get_target_ids(&self) -> &Option<Vec<String>>
The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
-
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises instances IDs, and their target type is
instanceTarget
. -
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is
instanceTarget
. -
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format
. Their target type is: ecsTarget
. -
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget
.
sourcepub fn build(self) -> Result<BatchGetDeploymentTargetsInput, BuildError>
pub fn build(self) -> Result<BatchGetDeploymentTargetsInput, BuildError>
Consumes the builder and constructs a BatchGetDeploymentTargetsInput
.
source§impl BatchGetDeploymentTargetsInputBuilder
impl BatchGetDeploymentTargetsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchGetDeploymentTargetsOutput, SdkError<BatchGetDeploymentTargetsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchGetDeploymentTargetsOutput, SdkError<BatchGetDeploymentTargetsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetDeploymentTargetsInputBuilder
impl Clone for BatchGetDeploymentTargetsInputBuilder
source§fn clone(&self) -> BatchGetDeploymentTargetsInputBuilder
fn clone(&self) -> BatchGetDeploymentTargetsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchGetDeploymentTargetsInputBuilder
impl Default for BatchGetDeploymentTargetsInputBuilder
source§fn default() -> BatchGetDeploymentTargetsInputBuilder
fn default() -> BatchGetDeploymentTargetsInputBuilder
source§impl PartialEq for BatchGetDeploymentTargetsInputBuilder
impl PartialEq for BatchGetDeploymentTargetsInputBuilder
source§fn eq(&self, other: &BatchGetDeploymentTargetsInputBuilder) -> bool
fn eq(&self, other: &BatchGetDeploymentTargetsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.