Struct aws_sdk_kms::operation::list_grants::builders::ListGrantsOutputBuilder
source · #[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 thisresponse 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 thisresponse 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 thisresponse 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
source§fn eq(&self, other: &ListGrantsOutputBuilder) -> bool
fn eq(&self, other: &ListGrantsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.