Struct aws_sdk_iot::operation::list_billing_groups::builders::ListBillingGroupsOutputBuilder
source · #[non_exhaustive]pub struct ListBillingGroupsOutputBuilder { /* private fields */ }
Expand description
A builder for ListBillingGroupsOutput
.
Implementations§
source§impl ListBillingGroupsOutputBuilder
impl ListBillingGroupsOutputBuilder
sourcepub fn billing_groups(self, input: GroupNameAndArn) -> Self
pub fn billing_groups(self, input: GroupNameAndArn) -> Self
Appends an item to billing_groups
.
To override the contents of this collection use set_billing_groups
.
The list of billing groups.
sourcepub fn set_billing_groups(self, input: Option<Vec<GroupNameAndArn>>) -> Self
pub fn set_billing_groups(self, input: Option<Vec<GroupNameAndArn>>) -> Self
The list of billing groups.
sourcepub fn get_billing_groups(&self) -> &Option<Vec<GroupNameAndArn>>
pub fn get_billing_groups(&self) -> &Option<Vec<GroupNameAndArn>>
The list of billing groups.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to get the next set of results, or null if there are no additional results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to get the next set of results, or null if there are no additional results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to get the next set of results, or null if there are no additional results.
sourcepub fn build(self) -> ListBillingGroupsOutput
pub fn build(self) -> ListBillingGroupsOutput
Consumes the builder and constructs a ListBillingGroupsOutput
.
Trait Implementations§
source§impl Clone for ListBillingGroupsOutputBuilder
impl Clone for ListBillingGroupsOutputBuilder
source§fn clone(&self) -> ListBillingGroupsOutputBuilder
fn clone(&self) -> ListBillingGroupsOutputBuilder
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 ListBillingGroupsOutputBuilder
impl Default for ListBillingGroupsOutputBuilder
source§fn default() -> ListBillingGroupsOutputBuilder
fn default() -> ListBillingGroupsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListBillingGroupsOutputBuilder
impl PartialEq for ListBillingGroupsOutputBuilder
source§fn eq(&self, other: &ListBillingGroupsOutputBuilder) -> bool
fn eq(&self, other: &ListBillingGroupsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListBillingGroupsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListBillingGroupsOutputBuilder
impl RefUnwindSafe for ListBillingGroupsOutputBuilder
impl Send for ListBillingGroupsOutputBuilder
impl Sync for ListBillingGroupsOutputBuilder
impl Unpin for ListBillingGroupsOutputBuilder
impl UnwindSafe for ListBillingGroupsOutputBuilder
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.