#[non_exhaustive]pub struct ListUsageProfilesOutputBuilder { /* private fields */ }Expand description
A builder for ListUsageProfilesOutput.
Implementations§
Source§impl ListUsageProfilesOutputBuilder
impl ListUsageProfilesOutputBuilder
Sourcepub fn profiles(self, input: UsageProfileDefinition) -> Self
pub fn profiles(self, input: UsageProfileDefinition) -> Self
Appends an item to profiles.
To override the contents of this collection use set_profiles.
A list of usage profile (UsageProfileDefinition) objects.
Sourcepub fn set_profiles(self, input: Option<Vec<UsageProfileDefinition>>) -> Self
pub fn set_profiles(self, input: Option<Vec<UsageProfileDefinition>>) -> Self
A list of usage profile (UsageProfileDefinition) objects.
Sourcepub fn get_profiles(&self) -> &Option<Vec<UsageProfileDefinition>>
pub fn get_profiles(&self) -> &Option<Vec<UsageProfileDefinition>>
A list of usage profile (UsageProfileDefinition) objects.
Sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A continuation token, present if the current list segment is not the last.
Sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A continuation token, present if the current list segment is not the last.
Sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A continuation token, present if the current list segment is not the last.
Sourcepub fn build(self) -> ListUsageProfilesOutput
pub fn build(self) -> ListUsageProfilesOutput
Consumes the builder and constructs a ListUsageProfilesOutput.
Trait Implementations§
Source§impl Clone for ListUsageProfilesOutputBuilder
impl Clone for ListUsageProfilesOutputBuilder
Source§fn clone(&self) -> ListUsageProfilesOutputBuilder
fn clone(&self) -> ListUsageProfilesOutputBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListUsageProfilesOutputBuilder
impl Default for ListUsageProfilesOutputBuilder
Source§fn default() -> ListUsageProfilesOutputBuilder
fn default() -> ListUsageProfilesOutputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListUsageProfilesOutputBuilder
impl PartialEq for ListUsageProfilesOutputBuilder
Source§fn eq(&self, other: &ListUsageProfilesOutputBuilder) -> bool
fn eq(&self, other: &ListUsageProfilesOutputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListUsageProfilesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListUsageProfilesOutputBuilder
impl RefUnwindSafe for ListUsageProfilesOutputBuilder
impl Send for ListUsageProfilesOutputBuilder
impl Sync for ListUsageProfilesOutputBuilder
impl Unpin for ListUsageProfilesOutputBuilder
impl UnsafeUnpin for ListUsageProfilesOutputBuilder
impl UnwindSafe for ListUsageProfilesOutputBuilder
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§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.