Struct aws_sdk_kms::operation::list_keys::builders::ListKeysOutputBuilder
source · #[non_exhaustive]pub struct ListKeysOutputBuilder { /* private fields */ }
Expand description
A builder for ListKeysOutput
.
Implementations§
source§impl ListKeysOutputBuilder
impl ListKeysOutputBuilder
sourcepub fn keys(self, input: KeyListEntry) -> Self
pub fn keys(self, input: KeyListEntry) -> Self
Appends an item to keys
.
To override the contents of this collection use set_keys
.
A list of KMS keys.
sourcepub fn set_keys(self, input: Option<Vec<KeyListEntry>>) -> Self
pub fn set_keys(self, input: Option<Vec<KeyListEntry>>) -> Self
A list of KMS keys.
sourcepub fn get_keys(&self) -> &Option<Vec<KeyListEntry>>
pub fn get_keys(&self) -> &Option<Vec<KeyListEntry>>
A list of KMS keys.
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) -> ListKeysOutput
pub fn build(self) -> ListKeysOutput
Consumes the builder and constructs a ListKeysOutput
.
Trait Implementations§
source§impl Clone for ListKeysOutputBuilder
impl Clone for ListKeysOutputBuilder
source§fn clone(&self) -> ListKeysOutputBuilder
fn clone(&self) -> ListKeysOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListKeysOutputBuilder
impl Debug for ListKeysOutputBuilder
source§impl Default for ListKeysOutputBuilder
impl Default for ListKeysOutputBuilder
source§fn default() -> ListKeysOutputBuilder
fn default() -> ListKeysOutputBuilder
source§impl PartialEq for ListKeysOutputBuilder
impl PartialEq for ListKeysOutputBuilder
source§fn eq(&self, other: &ListKeysOutputBuilder) -> bool
fn eq(&self, other: &ListKeysOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.