Struct aws_sdk_m2::types::builders::VsamAttributesBuilder
source · #[non_exhaustive]pub struct VsamAttributesBuilder { /* private fields */ }Expand description
A builder for VsamAttributes.
Implementations§
source§impl VsamAttributesBuilder
impl VsamAttributesBuilder
sourcepub fn format(self, input: impl Into<String>) -> Self
pub fn format(self, input: impl Into<String>) -> Self
The record format of the data set.
This field is required.sourcepub fn set_format(self, input: Option<String>) -> Self
pub fn set_format(self, input: Option<String>) -> Self
The record format of the data set.
sourcepub fn get_format(&self) -> &Option<String>
pub fn get_format(&self) -> &Option<String>
The record format of the data set.
sourcepub fn encoding(self, input: impl Into<String>) -> Self
pub fn encoding(self, input: impl Into<String>) -> Self
The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
sourcepub fn set_encoding(self, input: Option<String>) -> Self
pub fn set_encoding(self, input: Option<String>) -> Self
The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
sourcepub fn get_encoding(&self) -> &Option<String>
pub fn get_encoding(&self) -> &Option<String>
The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
sourcepub fn compressed(self, input: bool) -> Self
pub fn compressed(self, input: bool) -> Self
Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.
sourcepub fn set_compressed(self, input: Option<bool>) -> Self
pub fn set_compressed(self, input: Option<bool>) -> Self
Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.
sourcepub fn get_compressed(&self) -> &Option<bool>
pub fn get_compressed(&self) -> &Option<bool>
Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.
sourcepub fn primary_key(self, input: PrimaryKey) -> Self
pub fn primary_key(self, input: PrimaryKey) -> Self
The primary key of the data set.
sourcepub fn set_primary_key(self, input: Option<PrimaryKey>) -> Self
pub fn set_primary_key(self, input: Option<PrimaryKey>) -> Self
The primary key of the data set.
sourcepub fn get_primary_key(&self) -> &Option<PrimaryKey>
pub fn get_primary_key(&self) -> &Option<PrimaryKey>
The primary key of the data set.
sourcepub fn alternate_keys(self, input: AlternateKey) -> Self
pub fn alternate_keys(self, input: AlternateKey) -> Self
Appends an item to alternate_keys.
To override the contents of this collection use set_alternate_keys.
The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.
sourcepub fn set_alternate_keys(self, input: Option<Vec<AlternateKey>>) -> Self
pub fn set_alternate_keys(self, input: Option<Vec<AlternateKey>>) -> Self
The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.
sourcepub fn get_alternate_keys(&self) -> &Option<Vec<AlternateKey>>
pub fn get_alternate_keys(&self) -> &Option<Vec<AlternateKey>>
The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.
sourcepub fn build(self) -> Result<VsamAttributes, BuildError>
pub fn build(self) -> Result<VsamAttributes, BuildError>
Consumes the builder and constructs a VsamAttributes.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VsamAttributesBuilder
impl Clone for VsamAttributesBuilder
source§fn clone(&self) -> VsamAttributesBuilder
fn clone(&self) -> VsamAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VsamAttributesBuilder
impl Debug for VsamAttributesBuilder
source§impl Default for VsamAttributesBuilder
impl Default for VsamAttributesBuilder
source§fn default() -> VsamAttributesBuilder
fn default() -> VsamAttributesBuilder
source§impl PartialEq for VsamAttributesBuilder
impl PartialEq for VsamAttributesBuilder
source§fn eq(&self, other: &VsamAttributesBuilder) -> bool
fn eq(&self, other: &VsamAttributesBuilder) -> bool
self and other values to be equal, and is used
by ==.