Struct aws_sdk_sagemaker::operation::associate_trial_component::builders::AssociateTrialComponentInputBuilder
source · #[non_exhaustive]pub struct AssociateTrialComponentInputBuilder { /* private fields */ }
Expand description
A builder for AssociateTrialComponentInput
.
Implementations§
source§impl AssociateTrialComponentInputBuilder
impl AssociateTrialComponentInputBuilder
sourcepub fn trial_component_name(self, input: impl Into<String>) -> Self
pub fn trial_component_name(self, input: impl Into<String>) -> Self
The name of the component to associated with the trial.
This field is required.sourcepub fn set_trial_component_name(self, input: Option<String>) -> Self
pub fn set_trial_component_name(self, input: Option<String>) -> Self
The name of the component to associated with the trial.
sourcepub fn get_trial_component_name(&self) -> &Option<String>
pub fn get_trial_component_name(&self) -> &Option<String>
The name of the component to associated with the trial.
sourcepub fn trial_name(self, input: impl Into<String>) -> Self
pub fn trial_name(self, input: impl Into<String>) -> Self
The name of the trial to associate with.
This field is required.sourcepub fn set_trial_name(self, input: Option<String>) -> Self
pub fn set_trial_name(self, input: Option<String>) -> Self
The name of the trial to associate with.
sourcepub fn get_trial_name(&self) -> &Option<String>
pub fn get_trial_name(&self) -> &Option<String>
The name of the trial to associate with.
sourcepub fn build(self) -> Result<AssociateTrialComponentInput, BuildError>
pub fn build(self) -> Result<AssociateTrialComponentInput, BuildError>
Consumes the builder and constructs a AssociateTrialComponentInput
.
source§impl AssociateTrialComponentInputBuilder
impl AssociateTrialComponentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateTrialComponentOutput, SdkError<AssociateTrialComponentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateTrialComponentOutput, SdkError<AssociateTrialComponentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateTrialComponentInputBuilder
impl Clone for AssociateTrialComponentInputBuilder
source§fn clone(&self) -> AssociateTrialComponentInputBuilder
fn clone(&self) -> AssociateTrialComponentInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AssociateTrialComponentInputBuilder
impl Default for AssociateTrialComponentInputBuilder
source§fn default() -> AssociateTrialComponentInputBuilder
fn default() -> AssociateTrialComponentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateTrialComponentInputBuilder
impl PartialEq for AssociateTrialComponentInputBuilder
source§fn eq(&self, other: &AssociateTrialComponentInputBuilder) -> bool
fn eq(&self, other: &AssociateTrialComponentInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateTrialComponentInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateTrialComponentInputBuilder
impl RefUnwindSafe for AssociateTrialComponentInputBuilder
impl Send for AssociateTrialComponentInputBuilder
impl Sync for AssociateTrialComponentInputBuilder
impl Unpin for AssociateTrialComponentInputBuilder
impl UnwindSafe for AssociateTrialComponentInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.