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 ==.impl StructuralPartialEq for PoAttributesBuilder
Auto Trait Implementations§
impl Freeze for PoAttributesBuilder
impl RefUnwindSafe for PoAttributesBuilder
impl Send for PoAttributesBuilder
impl Sync for PoAttributesBuilder
impl Unpin for PoAttributesBuilder
impl UnwindSafe for PoAttributesBuilder
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