Struct aws_sdk_m2::types::builders::RecordLengthBuilder
source · #[non_exhaustive]pub struct RecordLengthBuilder { /* private fields */ }
Expand description
A builder for RecordLength
.
Implementations§
source§impl RecordLengthBuilder
impl RecordLengthBuilder
sourcepub fn min(self, input: i32) -> Self
pub fn min(self, input: i32) -> Self
The minimum record length of a record.
This field is required.sourcepub fn max(self, input: i32) -> Self
pub fn max(self, input: i32) -> Self
The maximum record length. In case of fixed, both minimum and maximum are the same.
This field is required.sourcepub fn set_max(self, input: Option<i32>) -> Self
pub fn set_max(self, input: Option<i32>) -> Self
The maximum record length. In case of fixed, both minimum and maximum are the same.
sourcepub fn get_max(&self) -> &Option<i32>
pub fn get_max(&self) -> &Option<i32>
The maximum record length. In case of fixed, both minimum and maximum are the same.
sourcepub fn build(self) -> RecordLength
pub fn build(self) -> RecordLength
Consumes the builder and constructs a RecordLength
.
Trait Implementations§
source§impl Clone for RecordLengthBuilder
impl Clone for RecordLengthBuilder
source§fn clone(&self) -> RecordLengthBuilder
fn clone(&self) -> RecordLengthBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RecordLengthBuilder
impl Debug for RecordLengthBuilder
source§impl Default for RecordLengthBuilder
impl Default for RecordLengthBuilder
source§fn default() -> RecordLengthBuilder
fn default() -> RecordLengthBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RecordLengthBuilder
impl PartialEq for RecordLengthBuilder
source§fn eq(&self, other: &RecordLengthBuilder) -> bool
fn eq(&self, other: &RecordLengthBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecordLengthBuilder
Auto Trait Implementations§
impl Freeze for RecordLengthBuilder
impl RefUnwindSafe for RecordLengthBuilder
impl Send for RecordLengthBuilder
impl Sync for RecordLengthBuilder
impl Unpin for RecordLengthBuilder
impl UnwindSafe for RecordLengthBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.