Struct aws_sdk_sagemaker::operation::create_experiment::builders::CreateExperimentInputBuilder
source · #[non_exhaustive]pub struct CreateExperimentInputBuilder { /* private fields */ }
Expand description
A builder for CreateExperimentInput
.
Implementations§
source§impl CreateExperimentInputBuilder
impl CreateExperimentInputBuilder
sourcepub fn experiment_name(self, input: impl Into<String>) -> Self
pub fn experiment_name(self, input: impl Into<String>) -> Self
The name of the experiment. The name must be unique in your Amazon Web Services account and is not case-sensitive.
This field is required.sourcepub fn set_experiment_name(self, input: Option<String>) -> Self
pub fn set_experiment_name(self, input: Option<String>) -> Self
The name of the experiment. The name must be unique in your Amazon Web Services account and is not case-sensitive.
sourcepub fn get_experiment_name(&self) -> &Option<String>
pub fn get_experiment_name(&self) -> &Option<String>
The name of the experiment. The name must be unique in your Amazon Web Services account and is not case-sensitive.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The name of the experiment as displayed. The name doesn't need to be unique. If you don't specify DisplayName
, the value in ExperimentName
is displayed.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The name of the experiment as displayed. The name doesn't need to be unique. If you don't specify DisplayName
, the value in ExperimentName
is displayed.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The name of the experiment as displayed. The name doesn't need to be unique. If you don't specify DisplayName
, the value in ExperimentName
is displayed.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the experiment.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the experiment.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the experiment.
A list of tags to associate with the experiment. You can use Search API to search on the tags.
A list of tags to associate with the experiment. You can use Search API to search on the tags.
sourcepub fn build(self) -> Result<CreateExperimentInput, BuildError>
pub fn build(self) -> Result<CreateExperimentInput, BuildError>
Consumes the builder and constructs a CreateExperimentInput
.
source§impl CreateExperimentInputBuilder
impl CreateExperimentInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateExperimentOutput, SdkError<CreateExperimentError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateExperimentOutput, SdkError<CreateExperimentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateExperimentInputBuilder
impl Clone for CreateExperimentInputBuilder
source§fn clone(&self) -> CreateExperimentInputBuilder
fn clone(&self) -> CreateExperimentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateExperimentInputBuilder
impl Debug for CreateExperimentInputBuilder
source§impl Default for CreateExperimentInputBuilder
impl Default for CreateExperimentInputBuilder
source§fn default() -> CreateExperimentInputBuilder
fn default() -> CreateExperimentInputBuilder
source§impl PartialEq for CreateExperimentInputBuilder
impl PartialEq for CreateExperimentInputBuilder
source§fn eq(&self, other: &CreateExperimentInputBuilder) -> bool
fn eq(&self, other: &CreateExperimentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateExperimentInputBuilder
Auto Trait Implementations§
impl Freeze for CreateExperimentInputBuilder
impl RefUnwindSafe for CreateExperimentInputBuilder
impl Send for CreateExperimentInputBuilder
impl Sync for CreateExperimentInputBuilder
impl Unpin for CreateExperimentInputBuilder
impl UnwindSafe for CreateExperimentInputBuilder
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