#[non_exhaustive]pub struct ListKeysInputBuilder { /* private fields */ }Expand description
A builder for ListKeysInput.
Implementations§
source§impl ListKeysInputBuilder
impl ListKeysInputBuilder
sourcepub fn set_key_state(self, input: Option<KeyState>) -> Self
pub fn set_key_state(self, input: Option<KeyState>) -> Self
The key state of the keys you want to list.
sourcepub fn get_key_state(&self) -> &Option<KeyState>
pub fn get_key_state(&self) -> &Option<KeyState>
The key state of the keys you want to list.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the truncated response you just received.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the truncated response you just received.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the truncated response you just received.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.
sourcepub fn build(self) -> Result<ListKeysInput, BuildError>
pub fn build(self) -> Result<ListKeysInput, BuildError>
Consumes the builder and constructs a ListKeysInput.
source§impl ListKeysInputBuilder
impl ListKeysInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListKeysOutput, SdkError<ListKeysError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListKeysOutput, SdkError<ListKeysError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListKeysInputBuilder
impl Clone for ListKeysInputBuilder
source§fn clone(&self) -> ListKeysInputBuilder
fn clone(&self) -> ListKeysInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListKeysInputBuilder
impl Debug for ListKeysInputBuilder
source§impl Default for ListKeysInputBuilder
impl Default for ListKeysInputBuilder
source§fn default() -> ListKeysInputBuilder
fn default() -> ListKeysInputBuilder
source§impl PartialEq for ListKeysInputBuilder
impl PartialEq for ListKeysInputBuilder
source§fn eq(&self, other: &ListKeysInputBuilder) -> bool
fn eq(&self, other: &ListKeysInputBuilder) -> bool
self and other values to be equal, and is used
by ==.