Struct aws_sdk_sagemaker::model::traffic_pattern::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for TrafficPattern.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn traffic_type(self, input: TrafficType) -> Self
pub fn traffic_type(self, input: TrafficType) -> Self
Defines the traffic patterns.
sourcepub fn set_traffic_type(self, input: Option<TrafficType>) -> Self
pub fn set_traffic_type(self, input: Option<TrafficType>) -> Self
Defines the traffic patterns.
sourcepub fn phases(self, input: Phase) -> Self
pub fn phases(self, input: Phase) -> Self
Appends an item to phases.
To override the contents of this collection use set_phases.
Defines the phases traffic specification.
sourcepub fn set_phases(self, input: Option<Vec<Phase>>) -> Self
pub fn set_phases(self, input: Option<Vec<Phase>>) -> Self
Defines the phases traffic specification.
sourcepub fn build(self) -> TrafficPattern
pub fn build(self) -> TrafficPattern
Consumes the builder and constructs a TrafficPattern.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more