Struct aws_sdk_kms::operation::list_retirable_grants::builders::ListRetirableGrantsOutputBuilder
source · #[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 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) -> 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 ==
.