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 ==
.impl StructuralPartialEq for PhaseBuilder
Auto Trait Implementations§
impl Freeze for PhaseBuilder
impl RefUnwindSafe for PhaseBuilder
impl Send for PhaseBuilder
impl Sync for PhaseBuilder
impl Unpin for PhaseBuilder
impl UnwindSafe for PhaseBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more