Struct aws_sdk_m2::operation::get_data_set_details::builders::GetDataSetDetailsOutputBuilder
source · #[non_exhaustive]pub struct GetDataSetDetailsOutputBuilder { /* private fields */ }
Expand description
A builder for GetDataSetDetailsOutput
.
Implementations§
source§impl GetDataSetDetailsOutputBuilder
impl GetDataSetDetailsOutputBuilder
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: DatasetDetailOrgAttributes) -> Self
pub fn data_set_org(self, input: DatasetDetailOrgAttributes) -> Self
The type of data set. The only supported value is VSAM.
sourcepub fn set_data_set_org(self, input: Option<DatasetDetailOrgAttributes>) -> Self
pub fn set_data_set_org(self, input: Option<DatasetDetailOrgAttributes>) -> Self
The type of data set. The only supported value is VSAM.
sourcepub fn get_data_set_org(&self) -> &Option<DatasetDetailOrgAttributes>
pub fn get_data_set_org(&self) -> &Option<DatasetDetailOrgAttributes>
The type of data set. The only supported value is VSAM.
sourcepub fn record_length(self, input: i32) -> Self
pub fn record_length(self, input: i32) -> Self
The length of records in the data set.
sourcepub fn set_record_length(self, input: Option<i32>) -> Self
pub fn set_record_length(self, input: Option<i32>) -> Self
The length of records in the data set.
sourcepub fn get_record_length(&self) -> &Option<i32>
pub fn get_record_length(&self) -> &Option<i32>
The length of records in the data set.
sourcepub fn location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
The location where the data set is stored.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The location where the data set is stored.
sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
The location where the data set is stored.
sourcepub fn set_blocksize(self, input: Option<i32>) -> Self
pub fn set_blocksize(self, input: Option<i32>) -> Self
The size of the block on disk.
sourcepub fn get_blocksize(&self) -> &Option<i32>
pub fn get_blocksize(&self) -> &Option<i32>
The size of the block on disk.
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 set_file_size(self, input: Option<i64>) -> Self
pub fn set_file_size(self, input: Option<i64>) -> Self
File size of the dataset.
sourcepub fn get_file_size(&self) -> &Option<i64>
pub fn get_file_size(&self) -> &Option<i64>
File size of the dataset.
sourcepub fn build(self) -> Result<GetDataSetDetailsOutput, BuildError>
pub fn build(self) -> Result<GetDataSetDetailsOutput, BuildError>
Consumes the builder and constructs a GetDataSetDetailsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetDataSetDetailsOutputBuilder
impl Clone for GetDataSetDetailsOutputBuilder
source§fn clone(&self) -> GetDataSetDetailsOutputBuilder
fn clone(&self) -> GetDataSetDetailsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetDataSetDetailsOutputBuilder
impl Default for GetDataSetDetailsOutputBuilder
source§fn default() -> GetDataSetDetailsOutputBuilder
fn default() -> GetDataSetDetailsOutputBuilder
source§impl PartialEq for GetDataSetDetailsOutputBuilder
impl PartialEq for GetDataSetDetailsOutputBuilder
source§fn eq(&self, other: &GetDataSetDetailsOutputBuilder) -> bool
fn eq(&self, other: &GetDataSetDetailsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDataSetDetailsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetDataSetDetailsOutputBuilder
impl RefUnwindSafe for GetDataSetDetailsOutputBuilder
impl Send for GetDataSetDetailsOutputBuilder
impl Sync for GetDataSetDetailsOutputBuilder
impl Unpin for GetDataSetDetailsOutputBuilder
impl UnwindSafe for GetDataSetDetailsOutputBuilder
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