Struct aws_sdk_sagemaker::model::traffic_pattern::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TrafficPattern
.
Implementations§
source§impl 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
.