Struct aws_sdk_apptest::types::builders::DataSetBuilder
source · #[non_exhaustive]pub struct DataSetBuilder { /* private fields */ }
Expand description
A builder for DataSet
.
Implementations§
source§impl DataSetBuilder
impl DataSetBuilder
sourcepub fn type(self, input: DataSetType) -> Self
pub fn type(self, input: DataSetType) -> Self
The type of the data set.
This field is required.sourcepub fn set_type(self, input: Option<DataSetType>) -> Self
pub fn set_type(self, input: Option<DataSetType>) -> Self
The type of the data set.
sourcepub fn get_type(&self) -> &Option<DataSetType>
pub fn get_type(&self) -> &Option<DataSetType>
The type of the data set.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the data set.
This field is required.sourcepub fn ccsid(self, input: impl Into<String>) -> Self
pub fn ccsid(self, input: impl Into<String>) -> Self
The CCSID of the data set.
This field is required.sourcepub fn set_format(self, input: Option<Format>) -> Self
pub fn set_format(self, input: Option<Format>) -> Self
The format of the data set.
sourcepub fn get_format(&self) -> &Option<Format>
pub fn get_format(&self) -> &Option<Format>
The format of the data set.
sourcepub fn set_length(self, input: Option<i32>) -> Self
pub fn set_length(self, input: Option<i32>) -> Self
The length of the data set.
sourcepub fn get_length(&self) -> &Option<i32>
pub fn get_length(&self) -> &Option<i32>
The length of the data set.
Trait Implementations§
source§impl Clone for DataSetBuilder
impl Clone for DataSetBuilder
source§fn clone(&self) -> DataSetBuilder
fn clone(&self) -> DataSetBuilder
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 DataSetBuilder
impl Debug for DataSetBuilder
source§impl Default for DataSetBuilder
impl Default for DataSetBuilder
source§fn default() -> DataSetBuilder
fn default() -> DataSetBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DataSetBuilder
impl PartialEq for DataSetBuilder
source§fn eq(&self, other: &DataSetBuilder) -> bool
fn eq(&self, other: &DataSetBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataSetBuilder
Auto Trait Implementations§
impl Freeze for DataSetBuilder
impl RefUnwindSafe for DataSetBuilder
impl Send for DataSetBuilder
impl Sync for DataSetBuilder
impl Unpin for DataSetBuilder
impl UnwindSafe for DataSetBuilder
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.