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 get_deployment_type(&self) -> &Option<DeploymentType>
pub fn get_deployment_type(&self) -> &Option<DeploymentType>
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 get_deployment_option(&self) -> &Option<DeploymentOption>
pub fn get_deployment_option(&self) -> &Option<DeploymentOption>
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 for DeploymentStyleBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for DeploymentStyleBuilder
Auto Trait Implementations§
impl Freeze for DeploymentStyleBuilder
impl RefUnwindSafe for DeploymentStyleBuilder
impl Send for DeploymentStyleBuilder
impl Sync for DeploymentStyleBuilder
impl Unpin for DeploymentStyleBuilder
impl UnwindSafe for DeploymentStyleBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.