Struct aws_sdk_m2::types::builders::DataSetSummaryBuilder
source · #[non_exhaustive]pub struct DataSetSummaryBuilder { /* private fields */ }Expand description
A builder for DataSetSummary.
Implementations§
source§impl DataSetSummaryBuilder
impl DataSetSummaryBuilder
sourcepub fn data_set_name(self, input: impl Into<String>) -> Self
pub fn data_set_name(self, input: impl Into<String>) -> Self
The name of the data set.
This field is required.sourcepub fn set_data_set_name(self, input: Option<String>) -> Self
pub fn set_data_set_name(self, input: Option<String>) -> Self
The name of the data set.
sourcepub fn get_data_set_name(&self) -> &Option<String>
pub fn get_data_set_name(&self) -> &Option<String>
The name of the data set.
sourcepub fn data_set_org(self, input: impl Into<String>) -> Self
pub fn data_set_org(self, input: impl Into<String>) -> Self
The type of data set. The only supported value is VSAM.
sourcepub fn set_data_set_org(self, input: Option<String>) -> Self
pub fn set_data_set_org(self, input: Option<String>) -> Self
The type of data set. The only supported value is VSAM.
sourcepub fn get_data_set_org(&self) -> &Option<String>
pub fn get_data_set_org(&self) -> &Option<String>
The type of data set. The only supported value is VSAM.
sourcepub fn set_format(self, input: Option<String>) -> Self
pub fn set_format(self, input: Option<String>) -> Self
The format of the data set.
sourcepub fn get_format(&self) -> &Option<String>
pub fn get_format(&self) -> &Option<String>
The format of the data set.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The timestamp when the data set was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The timestamp when the data set was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The timestamp when the data set was created.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The last time the data set was updated.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The last time the data set was updated.
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
The last time the data set was updated.
sourcepub fn last_referenced_time(self, input: DateTime) -> Self
pub fn last_referenced_time(self, input: DateTime) -> Self
The last time the data set was referenced.
sourcepub fn set_last_referenced_time(self, input: Option<DateTime>) -> Self
pub fn set_last_referenced_time(self, input: Option<DateTime>) -> Self
The last time the data set was referenced.
sourcepub fn get_last_referenced_time(&self) -> &Option<DateTime>
pub fn get_last_referenced_time(&self) -> &Option<DateTime>
The last time the data set was referenced.
sourcepub fn build(self) -> Result<DataSetSummary, BuildError>
pub fn build(self) -> Result<DataSetSummary, BuildError>
Consumes the builder and constructs a DataSetSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DataSetSummaryBuilder
impl Clone for DataSetSummaryBuilder
source§fn clone(&self) -> DataSetSummaryBuilder
fn clone(&self) -> DataSetSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DataSetSummaryBuilder
impl Debug for DataSetSummaryBuilder
source§impl Default for DataSetSummaryBuilder
impl Default for DataSetSummaryBuilder
source§fn default() -> DataSetSummaryBuilder
fn default() -> DataSetSummaryBuilder
source§impl PartialEq for DataSetSummaryBuilder
impl PartialEq for DataSetSummaryBuilder
source§fn eq(&self, other: &DataSetSummaryBuilder) -> bool
fn eq(&self, other: &DataSetSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DataSetSummaryBuilder
Auto Trait Implementations§
impl Freeze for DataSetSummaryBuilder
impl RefUnwindSafe for DataSetSummaryBuilder
impl Send for DataSetSummaryBuilder
impl Sync for DataSetSummaryBuilder
impl Unpin for DataSetSummaryBuilder
impl UnwindSafe for DataSetSummaryBuilder
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> 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