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 ==.