#[non_exhaustive]pub struct CurrentMetricSortCriteriaBuilder { /* private fields */ }
Expand description
A builder for CurrentMetricSortCriteria
.
Implementations§
source§impl CurrentMetricSortCriteriaBuilder
impl CurrentMetricSortCriteriaBuilder
sourcepub fn sort_by_metric(self, input: CurrentMetricName) -> Self
pub fn sort_by_metric(self, input: CurrentMetricName) -> Self
The current metric names.
sourcepub fn set_sort_by_metric(self, input: Option<CurrentMetricName>) -> Self
pub fn set_sort_by_metric(self, input: Option<CurrentMetricName>) -> Self
The current metric names.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
The way to sort.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
The way to sort.
sourcepub fn build(self) -> CurrentMetricSortCriteria
pub fn build(self) -> CurrentMetricSortCriteria
Consumes the builder and constructs a CurrentMetricSortCriteria
.
Trait Implementations§
source§impl Clone for CurrentMetricSortCriteriaBuilder
impl Clone for CurrentMetricSortCriteriaBuilder
source§fn clone(&self) -> CurrentMetricSortCriteriaBuilder
fn clone(&self) -> CurrentMetricSortCriteriaBuilder
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 Default for CurrentMetricSortCriteriaBuilder
impl Default for CurrentMetricSortCriteriaBuilder
source§fn default() -> CurrentMetricSortCriteriaBuilder
fn default() -> CurrentMetricSortCriteriaBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CurrentMetricSortCriteriaBuilder> for CurrentMetricSortCriteriaBuilder
impl PartialEq<CurrentMetricSortCriteriaBuilder> for CurrentMetricSortCriteriaBuilder
source§fn eq(&self, other: &CurrentMetricSortCriteriaBuilder) -> bool
fn eq(&self, other: &CurrentMetricSortCriteriaBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.