Struct aws_sdk_kms::operation::describe_custom_key_stores::builders::DescribeCustomKeyStoresInputBuilder
source · #[non_exhaustive]pub struct DescribeCustomKeyStoresInputBuilder { /* private fields */ }
Expand description
A builder for DescribeCustomKeyStoresInput
.
Implementations§
source§impl DescribeCustomKeyStoresInputBuilder
impl DescribeCustomKeyStoresInputBuilder
sourcepub fn custom_key_store_id(self, input: impl Into<String>) -> Self
pub fn custom_key_store_id(self, input: impl Into<String>) -> Self
Gets only information about the specified custom key store. Enter the key store ID.
By default, this operation gets information about all custom key stores in the account and Region. To limit the output to a particular custom key store, provide either the CustomKeyStoreId
or CustomKeyStoreName
parameter, but not both.
sourcepub fn set_custom_key_store_id(self, input: Option<String>) -> Self
pub fn set_custom_key_store_id(self, input: Option<String>) -> Self
Gets only information about the specified custom key store. Enter the key store ID.
By default, this operation gets information about all custom key stores in the account and Region. To limit the output to a particular custom key store, provide either the CustomKeyStoreId
or CustomKeyStoreName
parameter, but not both.
sourcepub fn get_custom_key_store_id(&self) -> &Option<String>
pub fn get_custom_key_store_id(&self) -> &Option<String>
Gets only information about the specified custom key store. Enter the key store ID.
By default, this operation gets information about all custom key stores in the account and Region. To limit the output to a particular custom key store, provide either the CustomKeyStoreId
or CustomKeyStoreName
parameter, but not both.
sourcepub fn custom_key_store_name(self, input: impl Into<String>) -> Self
pub fn custom_key_store_name(self, input: impl Into<String>) -> Self
Gets only information about the specified custom key store. Enter the friendly name of the custom key store.
By default, this operation gets information about all custom key stores in the account and Region. To limit the output to a particular custom key store, provide either the CustomKeyStoreId
or CustomKeyStoreName
parameter, but not both.
sourcepub fn set_custom_key_store_name(self, input: Option<String>) -> Self
pub fn set_custom_key_store_name(self, input: Option<String>) -> Self
Gets only information about the specified custom key store. Enter the friendly name of the custom key store.
By default, this operation gets information about all custom key stores in the account and Region. To limit the output to a particular custom key store, provide either the CustomKeyStoreId
or CustomKeyStoreName
parameter, but not both.
sourcepub fn get_custom_key_store_name(&self) -> &Option<String>
pub fn get_custom_key_store_name(&self) -> &Option<String>
Gets only information about the specified custom key store. Enter the friendly name of the custom key store.
By default, this operation gets information about all custom key stores in the account and Region. To limit the output to a particular custom key store, provide either the CustomKeyStoreId
or CustomKeyStoreName
parameter, but not both.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
Use this parameter to specify the maximum number of items to return. When this value is present, KMS does not return more than the specified number of items, but it might return fewer.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
Use this parameter to specify the maximum number of items to return. When this value is present, KMS does not return more than the specified number of items, but it might return fewer.
sourcepub fn get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
Use this parameter to specify the maximum number of items to return. When this value is present, KMS does not return more than the specified number of items, but it might return fewer.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(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 NextMarker
from the truncated response you just received.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(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 NextMarker
from the truncated response you just received.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextMarker
from the truncated response you just received.
sourcepub fn build(self) -> Result<DescribeCustomKeyStoresInput, BuildError>
pub fn build(self) -> Result<DescribeCustomKeyStoresInput, BuildError>
Consumes the builder and constructs a DescribeCustomKeyStoresInput
.
source§impl DescribeCustomKeyStoresInputBuilder
impl DescribeCustomKeyStoresInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeCustomKeyStoresOutput, SdkError<DescribeCustomKeyStoresError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeCustomKeyStoresOutput, SdkError<DescribeCustomKeyStoresError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeCustomKeyStoresInputBuilder
impl Clone for DescribeCustomKeyStoresInputBuilder
source§fn clone(&self) -> DescribeCustomKeyStoresInputBuilder
fn clone(&self) -> DescribeCustomKeyStoresInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeCustomKeyStoresInputBuilder
impl Default for DescribeCustomKeyStoresInputBuilder
source§fn default() -> DescribeCustomKeyStoresInputBuilder
fn default() -> DescribeCustomKeyStoresInputBuilder
source§impl PartialEq for DescribeCustomKeyStoresInputBuilder
impl PartialEq for DescribeCustomKeyStoresInputBuilder
source§fn eq(&self, other: &DescribeCustomKeyStoresInputBuilder) -> bool
fn eq(&self, other: &DescribeCustomKeyStoresInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.