#[non_exhaustive]pub struct ListKeysOutputBuilder { /* private fields */ }Expand description
A builder for ListKeysOutput.
Implementations§
source§impl ListKeysOutputBuilder
impl ListKeysOutputBuilder
sourcepub fn keys(self, input: KeySummary) -> Self
pub fn keys(self, input: KeySummary) -> Self
Appends an item to keys.
To override the contents of this collection use set_keys.
The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
sourcepub fn set_keys(self, input: Option<Vec<KeySummary>>) -> Self
pub fn set_keys(self, input: Option<Vec<KeySummary>>) -> Self
The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
sourcepub fn get_keys(&self) -> &Option<Vec<KeySummary>>
pub fn get_keys(&self) -> &Option<Vec<KeySummary>>
The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results, or an empty or null value if there are no more results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results, or an empty or null value if there are no more results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results, or an empty or null value if there are no more results.
sourcepub fn build(self) -> Result<ListKeysOutput, BuildError>
pub fn build(self) -> Result<ListKeysOutput, BuildError>
Consumes the builder and constructs a ListKeysOutput.
This method will fail if any of the following fields are not set:
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 ==.