Struct aws_sdk_m2::types::builders::PoAttributesBuilder
source · #[non_exhaustive]pub struct PoAttributesBuilder { /* private fields */ }Expand description
A builder for PoAttributes.
Implementations§
source§impl PoAttributesBuilder
impl PoAttributesBuilder
sourcepub fn format(self, input: impl Into<String>) -> Self
pub fn format(self, input: impl Into<String>) -> Self
The format of the data set records.
This field is required.sourcepub fn set_format(self, input: Option<String>) -> Self
pub fn set_format(self, input: Option<String>) -> Self
The format of the data set records.
sourcepub fn get_format(&self) -> &Option<String>
pub fn get_format(&self) -> &Option<String>
The format of the data set records.
sourcepub fn encoding(self, input: impl Into<String>) -> Self
pub fn encoding(self, input: impl Into<String>) -> Self
The character set encoding of the data set.
sourcepub fn set_encoding(self, input: Option<String>) -> Self
pub fn set_encoding(self, input: Option<String>) -> Self
The character set encoding of the data set.
sourcepub fn get_encoding(&self) -> &Option<String>
pub fn get_encoding(&self) -> &Option<String>
The character set encoding of the data set.
sourcepub fn member_file_extensions(self, input: impl Into<String>) -> Self
pub fn member_file_extensions(self, input: impl Into<String>) -> Self
Appends an item to member_file_extensions.
To override the contents of this collection use set_member_file_extensions.
An array containing one or more filename extensions, allowing you to specify which files to be included as PDS member.
sourcepub fn set_member_file_extensions(self, input: Option<Vec<String>>) -> Self
pub fn set_member_file_extensions(self, input: Option<Vec<String>>) -> Self
An array containing one or more filename extensions, allowing you to specify which files to be included as PDS member.
sourcepub fn get_member_file_extensions(&self) -> &Option<Vec<String>>
pub fn get_member_file_extensions(&self) -> &Option<Vec<String>>
An array containing one or more filename extensions, allowing you to specify which files to be included as PDS member.
sourcepub fn build(self) -> Result<PoAttributes, BuildError>
pub fn build(self) -> Result<PoAttributes, BuildError>
Consumes the builder and constructs a PoAttributes.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PoAttributesBuilder
impl Clone for PoAttributesBuilder
source§fn clone(&self) -> PoAttributesBuilder
fn clone(&self) -> PoAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PoAttributesBuilder
impl Debug for PoAttributesBuilder
source§impl Default for PoAttributesBuilder
impl Default for PoAttributesBuilder
source§fn default() -> PoAttributesBuilder
fn default() -> PoAttributesBuilder
source§impl PartialEq for PoAttributesBuilder
impl PartialEq for PoAttributesBuilder
source§fn eq(&self, other: &PoAttributesBuilder) -> bool
fn eq(&self, other: &PoAttributesBuilder) -> bool
self and other values to be equal, and is used
by ==.