Struct aws_sdk_glue::types::builders::TaskRunSortCriteriaBuilder
source · #[non_exhaustive]pub struct TaskRunSortCriteriaBuilder { /* private fields */ }
Expand description
A builder for TaskRunSortCriteria
.
Implementations§
source§impl TaskRunSortCriteriaBuilder
impl TaskRunSortCriteriaBuilder
sourcepub fn column(self, input: TaskRunSortColumnType) -> Self
pub fn column(self, input: TaskRunSortColumnType) -> Self
The column to be used to sort the list of task runs for the machine learning transform.
This field is required.sourcepub fn set_column(self, input: Option<TaskRunSortColumnType>) -> Self
pub fn set_column(self, input: Option<TaskRunSortColumnType>) -> Self
The column to be used to sort the list of task runs for the machine learning transform.
sourcepub fn get_column(&self) -> &Option<TaskRunSortColumnType>
pub fn get_column(&self) -> &Option<TaskRunSortColumnType>
The column to be used to sort the list of task runs for the machine learning transform.
sourcepub fn sort_direction(self, input: SortDirectionType) -> Self
pub fn sort_direction(self, input: SortDirectionType) -> Self
The sort direction to be used to sort the list of task runs for the machine learning transform.
This field is required.sourcepub fn set_sort_direction(self, input: Option<SortDirectionType>) -> Self
pub fn set_sort_direction(self, input: Option<SortDirectionType>) -> Self
The sort direction to be used to sort the list of task runs for the machine learning transform.
sourcepub fn get_sort_direction(&self) -> &Option<SortDirectionType>
pub fn get_sort_direction(&self) -> &Option<SortDirectionType>
The sort direction to be used to sort the list of task runs for the machine learning transform.
sourcepub fn build(self) -> Result<TaskRunSortCriteria, BuildError>
pub fn build(self) -> Result<TaskRunSortCriteria, BuildError>
Consumes the builder and constructs a TaskRunSortCriteria
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TaskRunSortCriteriaBuilder
impl Clone for TaskRunSortCriteriaBuilder
source§fn clone(&self) -> TaskRunSortCriteriaBuilder
fn clone(&self) -> TaskRunSortCriteriaBuilder
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 TaskRunSortCriteriaBuilder
impl Debug for TaskRunSortCriteriaBuilder
source§impl Default for TaskRunSortCriteriaBuilder
impl Default for TaskRunSortCriteriaBuilder
source§fn default() -> TaskRunSortCriteriaBuilder
fn default() -> TaskRunSortCriteriaBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TaskRunSortCriteriaBuilder
impl PartialEq for TaskRunSortCriteriaBuilder
source§fn eq(&self, other: &TaskRunSortCriteriaBuilder) -> bool
fn eq(&self, other: &TaskRunSortCriteriaBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TaskRunSortCriteriaBuilder
Auto Trait Implementations§
impl Freeze for TaskRunSortCriteriaBuilder
impl RefUnwindSafe for TaskRunSortCriteriaBuilder
impl Send for TaskRunSortCriteriaBuilder
impl Sync for TaskRunSortCriteriaBuilder
impl Unpin for TaskRunSortCriteriaBuilder
impl UnwindSafe for TaskRunSortCriteriaBuilder
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.