Struct aws_sdk_macie2::types::builders::GroupCountBuilder
source · #[non_exhaustive]pub struct GroupCountBuilder { /* private fields */ }Expand description
A builder for GroupCount.
Implementations§
source§impl GroupCountBuilder
impl GroupCountBuilder
sourcepub fn count(self, input: i64) -> Self
pub fn count(self, input: i64) -> Self
The total number of findings in the group of query results.
sourcepub fn set_count(self, input: Option<i64>) -> Self
pub fn set_count(self, input: Option<i64>) -> Self
The total number of findings in the group of query results.
sourcepub fn get_count(&self) -> &Option<i64>
pub fn get_count(&self) -> &Option<i64>
The total number of findings in the group of query results.
sourcepub fn group_key(self, input: impl Into<String>) -> Self
pub fn group_key(self, input: impl Into<String>) -> Self
The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.
sourcepub fn set_group_key(self, input: Option<String>) -> Self
pub fn set_group_key(self, input: Option<String>) -> Self
The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.
sourcepub fn get_group_key(&self) -> &Option<String>
pub fn get_group_key(&self) -> &Option<String>
The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.
sourcepub fn build(self) -> GroupCount
pub fn build(self) -> GroupCount
Consumes the builder and constructs a GroupCount.
Trait Implementations§
source§impl Clone for GroupCountBuilder
impl Clone for GroupCountBuilder
source§fn clone(&self) -> GroupCountBuilder
fn clone(&self) -> GroupCountBuilder
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 GroupCountBuilder
impl Debug for GroupCountBuilder
source§impl Default for GroupCountBuilder
impl Default for GroupCountBuilder
source§fn default() -> GroupCountBuilder
fn default() -> GroupCountBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GroupCountBuilder
impl PartialEq for GroupCountBuilder
source§fn eq(&self, other: &GroupCountBuilder) -> bool
fn eq(&self, other: &GroupCountBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GroupCountBuilder
Auto Trait Implementations§
impl Freeze for GroupCountBuilder
impl RefUnwindSafe for GroupCountBuilder
impl Send for GroupCountBuilder
impl Sync for GroupCountBuilder
impl Unpin for GroupCountBuilder
impl UnwindSafe for GroupCountBuilder
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.