#[non_exhaustive]pub struct ListGrantsOutputBuilder { /* private fields */ }
Expand description
A builder for ListGrantsOutput
.
Implementations§
Source§impl ListGrantsOutputBuilder
impl ListGrantsOutputBuilder
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) -> ListGrantsOutput
pub fn build(self) -> ListGrantsOutput
Consumes the builder and constructs a ListGrantsOutput
.
Trait Implementations§
Source§impl Clone for ListGrantsOutputBuilder
impl Clone for ListGrantsOutputBuilder
Source§fn clone(&self) -> ListGrantsOutputBuilder
fn clone(&self) -> ListGrantsOutputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ListGrantsOutputBuilder
impl Debug for ListGrantsOutputBuilder
Source§impl Default for ListGrantsOutputBuilder
impl Default for ListGrantsOutputBuilder
Source§fn default() -> ListGrantsOutputBuilder
fn default() -> ListGrantsOutputBuilder
Source§impl PartialEq for ListGrantsOutputBuilder
impl PartialEq for ListGrantsOutputBuilder
impl StructuralPartialEq for ListGrantsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListGrantsOutputBuilder
impl RefUnwindSafe for ListGrantsOutputBuilder
impl Send for ListGrantsOutputBuilder
impl Sync for ListGrantsOutputBuilder
impl Unpin for ListGrantsOutputBuilder
impl UnwindSafe for ListGrantsOutputBuilder
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