#[non_exhaustive]pub struct CreateAwsKmsKeyringInputBuilder { /* private fields */ }Expand description
A builder for CreateAwsKmsKeyringInput.
Implementations§
Source§impl CreateAwsKmsKeyringInputBuilder
impl CreateAwsKmsKeyringInputBuilder
Sourcepub fn grant_tokens(self, input: impl Into<Vec<String>>) -> Self
pub fn grant_tokens(self, input: impl Into<Vec<String>>) -> Self
A list of grant tokens to be used when calling KMS.
Sourcepub fn set_grant_tokens(self, input: Option<Vec<String>>) -> Self
pub fn set_grant_tokens(self, input: Option<Vec<String>>) -> Self
A list of grant tokens to be used when calling KMS.
Sourcepub fn get_grant_tokens(&self) -> &Option<Vec<String>>
pub fn get_grant_tokens(&self) -> &Option<Vec<String>>
A list of grant tokens to be used when calling KMS.
Sourcepub fn kms_client(self, input: impl Into<Client>) -> Self
pub fn kms_client(self, input: impl Into<Client>) -> Self
The KMS Client this Keyring will use to call KMS.
Sourcepub fn set_kms_client(self, input: Option<Client>) -> Self
pub fn set_kms_client(self, input: Option<Client>) -> Self
The KMS Client this Keyring will use to call KMS.
Sourcepub fn get_kms_client(&self) -> &Option<Client>
pub fn get_kms_client(&self) -> &Option<Client>
The KMS Client this Keyring will use to call KMS.
Sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The identifier for the symmetric AWS KMS Key responsible for wrapping and unwrapping data keys. This should not be a AWS KMS Multi-Region Key.
Sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The identifier for the symmetric AWS KMS Key responsible for wrapping and unwrapping data keys. This should not be a AWS KMS Multi-Region Key.
Sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The identifier for the symmetric AWS KMS Key responsible for wrapping and unwrapping data keys. This should not be a AWS KMS Multi-Region Key.
Sourcepub fn build(self) -> Result<CreateAwsKmsKeyringInput, BuildError>
pub fn build(self) -> Result<CreateAwsKmsKeyringInput, BuildError>
Consumes the builder and constructs a CreateAwsKmsKeyringInput.
Trait Implementations§
Source§impl Clone for CreateAwsKmsKeyringInputBuilder
impl Clone for CreateAwsKmsKeyringInputBuilder
Source§fn clone(&self) -> CreateAwsKmsKeyringInputBuilder
fn clone(&self) -> CreateAwsKmsKeyringInputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for CreateAwsKmsKeyringInputBuilder
impl Default for CreateAwsKmsKeyringInputBuilder
Source§fn default() -> CreateAwsKmsKeyringInputBuilder
fn default() -> CreateAwsKmsKeyringInputBuilder
Source§impl PartialEq for CreateAwsKmsKeyringInputBuilder
impl PartialEq for CreateAwsKmsKeyringInputBuilder
Source§fn eq(&self, other: &CreateAwsKmsKeyringInputBuilder) -> bool
fn eq(&self, other: &CreateAwsKmsKeyringInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateAwsKmsKeyringInputBuilder
Auto Trait Implementations§
impl Freeze for CreateAwsKmsKeyringInputBuilder
impl !RefUnwindSafe for CreateAwsKmsKeyringInputBuilder
impl Send for CreateAwsKmsKeyringInputBuilder
impl Sync for CreateAwsKmsKeyringInputBuilder
impl Unpin for CreateAwsKmsKeyringInputBuilder
impl !UnwindSafe for CreateAwsKmsKeyringInputBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more