Struct aws_sdk_sagemaker::model::trial_component_status::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TrialComponentStatus
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn primary_status(self, input: TrialComponentPrimaryStatus) -> Self
pub fn primary_status(self, input: TrialComponentPrimaryStatus) -> Self
The status of the trial component.
sourcepub fn set_primary_status(
self,
input: Option<TrialComponentPrimaryStatus>
) -> Self
pub fn set_primary_status(
self,
input: Option<TrialComponentPrimaryStatus>
) -> Self
The status of the trial component.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
If the component failed, a message describing why.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
If the component failed, a message describing why.
sourcepub fn build(self) -> TrialComponentStatus
pub fn build(self) -> TrialComponentStatus
Consumes the builder and constructs a TrialComponentStatus
.