Struct aws_sdk_codedeploy::model::TimeBasedLinear
source · #[non_exhaustive]pub struct TimeBasedLinear { /* private fields */ }
Expand description
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file.
Implementations§
source§impl TimeBasedLinear
impl TimeBasedLinear
sourcepub fn linear_percentage(&self) -> i32
pub fn linear_percentage(&self) -> i32
The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear
deployment.
sourcepub fn linear_interval(&self) -> i32
pub fn linear_interval(&self) -> i32
The number of minutes between each incremental traffic shift of a TimeBasedLinear
deployment.
source§impl TimeBasedLinear
impl TimeBasedLinear
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TimeBasedLinear
.
Trait Implementations§
source§impl Clone for TimeBasedLinear
impl Clone for TimeBasedLinear
source§fn clone(&self) -> TimeBasedLinear
fn clone(&self) -> TimeBasedLinear
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 TimeBasedLinear
impl Debug for TimeBasedLinear
source§impl PartialEq<TimeBasedLinear> for TimeBasedLinear
impl PartialEq<TimeBasedLinear> for TimeBasedLinear
source§fn eq(&self, other: &TimeBasedLinear) -> bool
fn eq(&self, other: &TimeBasedLinear) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.