Struct aws_sdk_m2::types::builders::DataSetImportItemBuilder
source · #[non_exhaustive]pub struct DataSetImportItemBuilder { /* private fields */ }
Expand description
A builder for DataSetImportItem
.
Implementations§
source§impl DataSetImportItemBuilder
impl DataSetImportItemBuilder
sourcepub fn set_data_set(self, input: Option<DataSet>) -> Self
pub fn set_data_set(self, input: Option<DataSet>) -> Self
The data set.
sourcepub fn get_data_set(&self) -> &Option<DataSet>
pub fn get_data_set(&self) -> &Option<DataSet>
The data set.
sourcepub fn external_location(self, input: ExternalLocation) -> Self
pub fn external_location(self, input: ExternalLocation) -> Self
The location of the data set.
This field is required.sourcepub fn set_external_location(self, input: Option<ExternalLocation>) -> Self
pub fn set_external_location(self, input: Option<ExternalLocation>) -> Self
The location of the data set.
sourcepub fn get_external_location(&self) -> &Option<ExternalLocation>
pub fn get_external_location(&self) -> &Option<ExternalLocation>
The location of the data set.
sourcepub fn build(self) -> DataSetImportItem
pub fn build(self) -> DataSetImportItem
Consumes the builder and constructs a DataSetImportItem
.
Trait Implementations§
source§impl Clone for DataSetImportItemBuilder
impl Clone for DataSetImportItemBuilder
source§fn clone(&self) -> DataSetImportItemBuilder
fn clone(&self) -> DataSetImportItemBuilder
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 DataSetImportItemBuilder
impl Debug for DataSetImportItemBuilder
source§impl Default for DataSetImportItemBuilder
impl Default for DataSetImportItemBuilder
source§fn default() -> DataSetImportItemBuilder
fn default() -> DataSetImportItemBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DataSetImportItemBuilder
impl PartialEq for DataSetImportItemBuilder
source§fn eq(&self, other: &DataSetImportItemBuilder) -> bool
fn eq(&self, other: &DataSetImportItemBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataSetImportItemBuilder
Auto Trait Implementations§
impl Freeze for DataSetImportItemBuilder
impl RefUnwindSafe for DataSetImportItemBuilder
impl Send for DataSetImportItemBuilder
impl Sync for DataSetImportItemBuilder
impl Unpin for DataSetImportItemBuilder
impl UnwindSafe for DataSetImportItemBuilder
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.