#[non_exhaustive]pub struct ListRetirableGrantsOutputBuilder { /* private fields */ }
Expand description
A builder for ListRetirableGrantsOutput
.
Implementations§
Source§impl ListRetirableGrantsOutputBuilder
impl ListRetirableGrantsOutputBuilder
Sourcepub fn grants(self, input: GrantListEntry) -> Self
pub fn grants(self, input: GrantListEntry) -> Self
Appends an item to grants
.
To override the contents of this collection use set_grants
.
A list of grants.
Sourcepub fn set_grants(self, input: Option<Vec<GrantListEntry>>) -> Self
pub fn set_grants(self, input: Option<Vec<GrantListEntry>>) -> Self
A list of grants.
Sourcepub fn get_grants(&self) -> &Option<Vec<GrantListEntry>>
pub fn get_grants(&self) -> &Option<Vec<GrantListEntry>>
A list of grants.
Sourcepub fn next_marker(self, input: impl Into<String>) -> Self
pub fn next_marker(self, input: impl Into<String>) -> Self
When Truncated
is true, this element is present and contains the value to use for the Marker
parameter in a subsequent request.
Sourcepub fn set_next_marker(self, input: Option<String>) -> Self
pub fn set_next_marker(self, input: Option<String>) -> Self
When Truncated
is true, this element is present and contains the value to use for the Marker
parameter in a subsequent request.
Sourcepub fn get_next_marker(&self) -> &Option<String>
pub fn get_next_marker(&self) -> &Option<String>
When Truncated
is true, this element is present and contains the value to use for the Marker
parameter in a subsequent request.
Sourcepub fn truncated(self, input: bool) -> Self
pub fn truncated(self, input: bool) -> Self
A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of the NextMarker
element in this response to the Marker
parameter in a subsequent request.
Sourcepub fn set_truncated(self, input: Option<bool>) -> Self
pub fn set_truncated(self, input: Option<bool>) -> Self
A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of the NextMarker
element in this response to the Marker
parameter in a subsequent request.
Sourcepub fn get_truncated(&self) -> &Option<bool>
pub fn get_truncated(&self) -> &Option<bool>
A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of the NextMarker
element in this response to the Marker
parameter in a subsequent request.
Sourcepub fn build(self) -> ListRetirableGrantsOutput
pub fn build(self) -> ListRetirableGrantsOutput
Consumes the builder and constructs a ListRetirableGrantsOutput
.
Trait Implementations§
Source§impl Clone for ListRetirableGrantsOutputBuilder
impl Clone for ListRetirableGrantsOutputBuilder
Source§fn clone(&self) -> ListRetirableGrantsOutputBuilder
fn clone(&self) -> ListRetirableGrantsOutputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for ListRetirableGrantsOutputBuilder
impl Default for ListRetirableGrantsOutputBuilder
Source§fn default() -> ListRetirableGrantsOutputBuilder
fn default() -> ListRetirableGrantsOutputBuilder
Source§impl PartialEq for ListRetirableGrantsOutputBuilder
impl PartialEq for ListRetirableGrantsOutputBuilder
Source§fn eq(&self, other: &ListRetirableGrantsOutputBuilder) -> bool
fn eq(&self, other: &ListRetirableGrantsOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ListRetirableGrantsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListRetirableGrantsOutputBuilder
impl RefUnwindSafe for ListRetirableGrantsOutputBuilder
impl Send for ListRetirableGrantsOutputBuilder
impl Sync for ListRetirableGrantsOutputBuilder
impl Unpin for ListRetirableGrantsOutputBuilder
impl UnwindSafe for ListRetirableGrantsOutputBuilder
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
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>
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>
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 more