Struct aws_sdk_codedeploy::model::deployment_config_info::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for DeploymentConfigInfo
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn deployment_config_id(self, input: impl Into<String>) -> Self
pub fn deployment_config_id(self, input: impl Into<String>) -> Self
The deployment configuration ID.
sourcepub fn set_deployment_config_id(self, input: Option<String>) -> Self
pub fn set_deployment_config_id(self, input: Option<String>) -> Self
The deployment configuration ID.
sourcepub fn deployment_config_name(self, input: impl Into<String>) -> Self
pub fn deployment_config_name(self, input: impl Into<String>) -> Self
The deployment configuration name.
sourcepub fn set_deployment_config_name(self, input: Option<String>) -> Self
pub fn set_deployment_config_name(self, input: Option<String>) -> Self
The deployment configuration name.
sourcepub fn minimum_healthy_hosts(self, input: MinimumHealthyHosts) -> Self
pub fn minimum_healthy_hosts(self, input: MinimumHealthyHosts) -> Self
Information about the number or percentage of minimum healthy instance.
sourcepub fn set_minimum_healthy_hosts(
self,
input: Option<MinimumHealthyHosts>
) -> Self
pub fn set_minimum_healthy_hosts(
self,
input: Option<MinimumHealthyHosts>
) -> Self
Information about the number or percentage of minimum healthy instance.
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The time at which the deployment configuration was created.
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The time at which the deployment configuration was created.
sourcepub fn compute_platform(self, input: ComputePlatform) -> Self
pub fn compute_platform(self, input: ComputePlatform) -> Self
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
sourcepub fn set_compute_platform(self, input: Option<ComputePlatform>) -> Self
pub fn set_compute_platform(self, input: Option<ComputePlatform>) -> Self
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
sourcepub fn traffic_routing_config(self, input: TrafficRoutingConfig) -> Self
pub fn traffic_routing_config(self, input: TrafficRoutingConfig) -> Self
The configuration that specifies how the deployment traffic is routed. Used for deployments with a Lambda or Amazon ECS compute platform only.
sourcepub fn set_traffic_routing_config(
self,
input: Option<TrafficRoutingConfig>
) -> Self
pub fn set_traffic_routing_config(
self,
input: Option<TrafficRoutingConfig>
) -> Self
The configuration that specifies how the deployment traffic is routed. Used for deployments with a Lambda or Amazon ECS compute platform only.
sourcepub fn build(self) -> DeploymentConfigInfo
pub fn build(self) -> DeploymentConfigInfo
Consumes the builder and constructs a DeploymentConfigInfo
.