Struct aws_sdk_quicksight::types::builders::AggFunctionBuilder
source · #[non_exhaustive]pub struct AggFunctionBuilder { /* private fields */ }
Expand description
A builder for AggFunction
.
Implementations§
source§impl AggFunctionBuilder
impl AggFunctionBuilder
sourcepub fn aggregation(self, input: AggType) -> Self
pub fn aggregation(self, input: AggType) -> Self
The aggregation of an Agg function.
sourcepub fn set_aggregation(self, input: Option<AggType>) -> Self
pub fn set_aggregation(self, input: Option<AggType>) -> Self
The aggregation of an Agg function.
sourcepub fn get_aggregation(&self) -> &Option<AggType>
pub fn get_aggregation(&self) -> &Option<AggType>
The aggregation of an Agg function.
sourcepub fn aggregation_function_parameters(
self,
k: impl Into<String>,
v: impl Into<String>,
) -> Self
pub fn aggregation_function_parameters( self, k: impl Into<String>, v: impl Into<String>, ) -> Self
Adds a key-value pair to aggregation_function_parameters
.
To override the contents of this collection use set_aggregation_function_parameters
.
The aggregation parameters for an Agg function.
sourcepub fn set_aggregation_function_parameters(
self,
input: Option<HashMap<String, String>>,
) -> Self
pub fn set_aggregation_function_parameters( self, input: Option<HashMap<String, String>>, ) -> Self
The aggregation parameters for an Agg function.
sourcepub fn get_aggregation_function_parameters(
&self,
) -> &Option<HashMap<String, String>>
pub fn get_aggregation_function_parameters( &self, ) -> &Option<HashMap<String, String>>
The aggregation parameters for an Agg function.
sourcepub fn period(self, input: TopicTimeGranularity) -> Self
pub fn period(self, input: TopicTimeGranularity) -> Self
The period of an Agg function.
sourcepub fn set_period(self, input: Option<TopicTimeGranularity>) -> Self
pub fn set_period(self, input: Option<TopicTimeGranularity>) -> Self
The period of an Agg function.
sourcepub fn get_period(&self) -> &Option<TopicTimeGranularity>
pub fn get_period(&self) -> &Option<TopicTimeGranularity>
The period of an Agg function.
sourcepub fn period_field(self, input: impl Into<String>) -> Self
pub fn period_field(self, input: impl Into<String>) -> Self
The period field for an Agg function.
sourcepub fn set_period_field(self, input: Option<String>) -> Self
pub fn set_period_field(self, input: Option<String>) -> Self
The period field for an Agg function.
sourcepub fn get_period_field(&self) -> &Option<String>
pub fn get_period_field(&self) -> &Option<String>
The period field for an Agg function.
sourcepub fn build(self) -> AggFunction
pub fn build(self) -> AggFunction
Consumes the builder and constructs a AggFunction
.
Trait Implementations§
source§impl Clone for AggFunctionBuilder
impl Clone for AggFunctionBuilder
source§fn clone(&self) -> AggFunctionBuilder
fn clone(&self) -> AggFunctionBuilder
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 AggFunctionBuilder
impl Debug for AggFunctionBuilder
source§impl Default for AggFunctionBuilder
impl Default for AggFunctionBuilder
source§fn default() -> AggFunctionBuilder
fn default() -> AggFunctionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AggFunctionBuilder
impl PartialEq for AggFunctionBuilder
impl StructuralPartialEq for AggFunctionBuilder
Auto Trait Implementations§
impl Freeze for AggFunctionBuilder
impl RefUnwindSafe for AggFunctionBuilder
impl Send for AggFunctionBuilder
impl Sync for AggFunctionBuilder
impl Unpin for AggFunctionBuilder
impl UnwindSafe for AggFunctionBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.