Struct aws_sdk_glue::types::builders::BackfillErrorBuilder
source · #[non_exhaustive]pub struct BackfillErrorBuilder { /* private fields */ }
Expand description
A builder for BackfillError
.
Implementations§
source§impl BackfillErrorBuilder
impl BackfillErrorBuilder
sourcepub fn code(self, input: BackfillErrorCode) -> Self
pub fn code(self, input: BackfillErrorCode) -> Self
The error code for an error that occurred when registering partition indexes for an existing table.
sourcepub fn set_code(self, input: Option<BackfillErrorCode>) -> Self
pub fn set_code(self, input: Option<BackfillErrorCode>) -> Self
The error code for an error that occurred when registering partition indexes for an existing table.
sourcepub fn get_code(&self) -> &Option<BackfillErrorCode>
pub fn get_code(&self) -> &Option<BackfillErrorCode>
The error code for an error that occurred when registering partition indexes for an existing table.
sourcepub fn partitions(self, input: PartitionValueList) -> Self
pub fn partitions(self, input: PartitionValueList) -> Self
Appends an item to partitions
.
To override the contents of this collection use set_partitions
.
A list of a limited number of partitions in the response.
sourcepub fn set_partitions(self, input: Option<Vec<PartitionValueList>>) -> Self
pub fn set_partitions(self, input: Option<Vec<PartitionValueList>>) -> Self
A list of a limited number of partitions in the response.
sourcepub fn get_partitions(&self) -> &Option<Vec<PartitionValueList>>
pub fn get_partitions(&self) -> &Option<Vec<PartitionValueList>>
A list of a limited number of partitions in the response.
sourcepub fn build(self) -> BackfillError
pub fn build(self) -> BackfillError
Consumes the builder and constructs a BackfillError
.
Trait Implementations§
source§impl Clone for BackfillErrorBuilder
impl Clone for BackfillErrorBuilder
source§fn clone(&self) -> BackfillErrorBuilder
fn clone(&self) -> BackfillErrorBuilder
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 BackfillErrorBuilder
impl Debug for BackfillErrorBuilder
source§impl Default for BackfillErrorBuilder
impl Default for BackfillErrorBuilder
source§fn default() -> BackfillErrorBuilder
fn default() -> BackfillErrorBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BackfillErrorBuilder
impl PartialEq for BackfillErrorBuilder
source§fn eq(&self, other: &BackfillErrorBuilder) -> bool
fn eq(&self, other: &BackfillErrorBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BackfillErrorBuilder
Auto Trait Implementations§
impl Freeze for BackfillErrorBuilder
impl RefUnwindSafe for BackfillErrorBuilder
impl Send for BackfillErrorBuilder
impl Sync for BackfillErrorBuilder
impl Unpin for BackfillErrorBuilder
impl UnwindSafe for BackfillErrorBuilder
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.