Struct aws_sdk_codedeploy::operation::get_deployment_target::builders::GetDeploymentTargetOutputBuilder
source · #[non_exhaustive]pub struct GetDeploymentTargetOutputBuilder { /* private fields */ }
Expand description
A builder for GetDeploymentTargetOutput
.
Implementations§
source§impl GetDeploymentTargetOutputBuilder
impl GetDeploymentTargetOutputBuilder
sourcepub fn deployment_target(self, input: DeploymentTarget) -> Self
pub fn deployment_target(self, input: DeploymentTarget) -> Self
A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated. It also contains metadata about the deployment target. The deployment target metadata depends on the deployment target's type (instanceTarget
, lambdaTarget
, or ecsTarget
).
sourcepub fn set_deployment_target(self, input: Option<DeploymentTarget>) -> Self
pub fn set_deployment_target(self, input: Option<DeploymentTarget>) -> Self
A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated. It also contains metadata about the deployment target. The deployment target metadata depends on the deployment target's type (instanceTarget
, lambdaTarget
, or ecsTarget
).
sourcepub fn get_deployment_target(&self) -> &Option<DeploymentTarget>
pub fn get_deployment_target(&self) -> &Option<DeploymentTarget>
A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated. It also contains metadata about the deployment target. The deployment target metadata depends on the deployment target's type (instanceTarget
, lambdaTarget
, or ecsTarget
).
sourcepub fn build(self) -> GetDeploymentTargetOutput
pub fn build(self) -> GetDeploymentTargetOutput
Consumes the builder and constructs a GetDeploymentTargetOutput
.
Trait Implementations§
source§impl Clone for GetDeploymentTargetOutputBuilder
impl Clone for GetDeploymentTargetOutputBuilder
source§fn clone(&self) -> GetDeploymentTargetOutputBuilder
fn clone(&self) -> GetDeploymentTargetOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetDeploymentTargetOutputBuilder
impl Default for GetDeploymentTargetOutputBuilder
source§fn default() -> GetDeploymentTargetOutputBuilder
fn default() -> GetDeploymentTargetOutputBuilder
source§impl PartialEq for GetDeploymentTargetOutputBuilder
impl PartialEq for GetDeploymentTargetOutputBuilder
source§fn eq(&self, other: &GetDeploymentTargetOutputBuilder) -> bool
fn eq(&self, other: &GetDeploymentTargetOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.