Struct aws_sdk_machinelearning::operation::update_data_source::builders::UpdateDataSourceInputBuilder
source · #[non_exhaustive]pub struct UpdateDataSourceInputBuilder { /* private fields */ }
Expand description
A builder for UpdateDataSourceInput
.
Implementations§
source§impl UpdateDataSourceInputBuilder
impl UpdateDataSourceInputBuilder
sourcepub fn data_source_id(self, input: impl Into<String>) -> Self
pub fn data_source_id(self, input: impl Into<String>) -> Self
The ID assigned to the DataSource
during creation.
sourcepub fn set_data_source_id(self, input: Option<String>) -> Self
pub fn set_data_source_id(self, input: Option<String>) -> Self
The ID assigned to the DataSource
during creation.
sourcepub fn get_data_source_id(&self) -> &Option<String>
pub fn get_data_source_id(&self) -> &Option<String>
The ID assigned to the DataSource
during creation.
sourcepub fn data_source_name(self, input: impl Into<String>) -> Self
pub fn data_source_name(self, input: impl Into<String>) -> Self
A new user-supplied name or description of the DataSource
that will replace the current description.
sourcepub fn set_data_source_name(self, input: Option<String>) -> Self
pub fn set_data_source_name(self, input: Option<String>) -> Self
A new user-supplied name or description of the DataSource
that will replace the current description.
sourcepub fn get_data_source_name(&self) -> &Option<String>
pub fn get_data_source_name(&self) -> &Option<String>
A new user-supplied name or description of the DataSource
that will replace the current description.
sourcepub fn build(self) -> Result<UpdateDataSourceInput, BuildError>
pub fn build(self) -> Result<UpdateDataSourceInput, BuildError>
Consumes the builder and constructs a UpdateDataSourceInput
.
source§impl UpdateDataSourceInputBuilder
impl UpdateDataSourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDataSourceInputBuilder
impl Clone for UpdateDataSourceInputBuilder
source§fn clone(&self) -> UpdateDataSourceInputBuilder
fn clone(&self) -> UpdateDataSourceInputBuilder
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 Debug for UpdateDataSourceInputBuilder
impl Debug for UpdateDataSourceInputBuilder
source§impl Default for UpdateDataSourceInputBuilder
impl Default for UpdateDataSourceInputBuilder
source§fn default() -> UpdateDataSourceInputBuilder
fn default() -> UpdateDataSourceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateDataSourceInputBuilder
impl PartialEq for UpdateDataSourceInputBuilder
source§fn eq(&self, other: &UpdateDataSourceInputBuilder) -> bool
fn eq(&self, other: &UpdateDataSourceInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDataSourceInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateDataSourceInputBuilder
impl RefUnwindSafe for UpdateDataSourceInputBuilder
impl Send for UpdateDataSourceInputBuilder
impl Sync for UpdateDataSourceInputBuilder
impl Unpin for UpdateDataSourceInputBuilder
impl UnwindSafe for UpdateDataSourceInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.