Struct aws_sdk_sagemaker::types::builders::PhaseBuilder
source · #[non_exhaustive]pub struct PhaseBuilder { /* private fields */ }
Expand description
A builder for Phase
.
Implementations§
source§impl PhaseBuilder
impl PhaseBuilder
sourcepub fn initial_number_of_users(self, input: i32) -> Self
pub fn initial_number_of_users(self, input: i32) -> Self
Specifies how many concurrent users to start with.
sourcepub fn set_initial_number_of_users(self, input: Option<i32>) -> Self
pub fn set_initial_number_of_users(self, input: Option<i32>) -> Self
Specifies how many concurrent users to start with.
sourcepub fn spawn_rate(self, input: i32) -> Self
pub fn spawn_rate(self, input: i32) -> Self
Specified how many new users to spawn in a minute.
sourcepub fn set_spawn_rate(self, input: Option<i32>) -> Self
pub fn set_spawn_rate(self, input: Option<i32>) -> Self
Specified how many new users to spawn in a minute.
sourcepub fn duration_in_seconds(self, input: i32) -> Self
pub fn duration_in_seconds(self, input: i32) -> Self
Specifies how long traffic phase should be.
sourcepub fn set_duration_in_seconds(self, input: Option<i32>) -> Self
pub fn set_duration_in_seconds(self, input: Option<i32>) -> Self
Specifies how long traffic phase should be.
Trait Implementations§
source§impl Clone for PhaseBuilder
impl Clone for PhaseBuilder
source§fn clone(&self) -> PhaseBuilder
fn clone(&self) -> PhaseBuilder
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 PhaseBuilder
impl Debug for PhaseBuilder
source§impl Default for PhaseBuilder
impl Default for PhaseBuilder
source§fn default() -> PhaseBuilder
fn default() -> PhaseBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PhaseBuilder> for PhaseBuilder
impl PartialEq<PhaseBuilder> for PhaseBuilder
source§fn eq(&self, other: &PhaseBuilder) -> bool
fn eq(&self, other: &PhaseBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.