Struct aws_sdk_codedeploy::types::builders::DeploymentStyleBuilder
source · #[non_exhaustive]pub struct DeploymentStyleBuilder { /* private fields */ }
Expand description
A builder for DeploymentStyle
.
Implementations§
source§impl DeploymentStyleBuilder
impl DeploymentStyleBuilder
sourcepub fn deployment_type(self, input: DeploymentType) -> Self
pub fn deployment_type(self, input: DeploymentType) -> Self
Indicates whether to run an in-place deployment or a blue/green deployment.
sourcepub fn set_deployment_type(self, input: Option<DeploymentType>) -> Self
pub fn set_deployment_type(self, input: Option<DeploymentType>) -> Self
Indicates whether to run an in-place deployment or a blue/green deployment.
sourcepub fn deployment_option(self, input: DeploymentOption) -> Self
pub fn deployment_option(self, input: DeploymentOption) -> Self
Indicates whether to route deployment traffic behind a load balancer.
sourcepub fn set_deployment_option(self, input: Option<DeploymentOption>) -> Self
pub fn set_deployment_option(self, input: Option<DeploymentOption>) -> Self
Indicates whether to route deployment traffic behind a load balancer.
sourcepub fn build(self) -> DeploymentStyle
pub fn build(self) -> DeploymentStyle
Consumes the builder and constructs a DeploymentStyle
.
Trait Implementations§
source§impl Clone for DeploymentStyleBuilder
impl Clone for DeploymentStyleBuilder
source§fn clone(&self) -> DeploymentStyleBuilder
fn clone(&self) -> DeploymentStyleBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeploymentStyleBuilder
impl Debug for DeploymentStyleBuilder
source§impl Default for DeploymentStyleBuilder
impl Default for DeploymentStyleBuilder
source§fn default() -> DeploymentStyleBuilder
fn default() -> DeploymentStyleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeploymentStyleBuilder> for DeploymentStyleBuilder
impl PartialEq<DeploymentStyleBuilder> for DeploymentStyleBuilder
source§fn eq(&self, other: &DeploymentStyleBuilder) -> bool
fn eq(&self, other: &DeploymentStyleBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.