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. The value should be between 1 and 3.
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. The value should be between 1 and 3.
sourcepub fn get_initial_number_of_users(&self) -> &Option<i32>
pub fn get_initial_number_of_users(&self) -> &Option<i32>
Specifies how many concurrent users to start with. The value should be between 1 and 3.
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 get_spawn_rate(&self) -> &Option<i32>
pub fn get_spawn_rate(&self) -> &Option<i32>
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 a traffic phase should be. For custom load tests, the value should be between 120 and 3600. This value should not exceed JobDurationInSeconds
.
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 a traffic phase should be. For custom load tests, the value should be between 120 and 3600. This value should not exceed JobDurationInSeconds
.
sourcepub fn get_duration_in_seconds(&self) -> &Option<i32>
pub fn get_duration_in_seconds(&self) -> &Option<i32>
Specifies how long a traffic phase should be. For custom load tests, the value should be between 120 and 3600. This value should not exceed JobDurationInSeconds
.
Trait Implementations§
source§impl Clone for PhaseBuilder
impl Clone for PhaseBuilder
source§fn clone(&self) -> PhaseBuilder
fn clone(&self) -> PhaseBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for PhaseBuilder
impl PartialEq for PhaseBuilder
source§fn eq(&self, other: &PhaseBuilder) -> bool
fn eq(&self, other: &PhaseBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.