pub struct UpdateKeyConfigurationRequestBuilder { /* private fields */ }
Expand description
Builder for UpdateKeyConfigurationRequest
.
Implementations§
source§impl UpdateKeyConfigurationRequestBuilder
impl UpdateKeyConfigurationRequestBuilder
pub fn mount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn min_decryption_version<VALUE: Into<Option<u64>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn min_decryption_version<VALUE: Into<Option<u64>>>( &mut self, value: VALUE, ) -> &mut Self
Specifies the minimum version of ciphertext allowed to be decrypted. Adjusting this as part of a key rotation policy can prevent old copies of ciphertext from being decrypted, should they fall into the wrong hands. For signatures, this value controls the minimum version of signature that can be verified against. For HMACs, this controls the minimum version of a key allowed to be used as the key for verification.
sourcepub fn min_encryption_version<VALUE: Into<Option<u64>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn min_encryption_version<VALUE: Into<Option<u64>>>( &mut self, value: VALUE, ) -> &mut Self
Specifies the minimum version of the key that can be used to encrypt plaintext, sign payloads, or generate HMACs. Must be 0 (which will use the latest version) or a value greater or equal to min_decryption_version.
sourcepub fn deletion_allowed<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn deletion_allowed<VALUE: Into<Option<bool>>>( &mut self, value: VALUE, ) -> &mut Self
Specifies if the key is allowed to be deleted.
sourcepub fn exportable<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn exportable<VALUE: Into<Option<bool>>>( &mut self, value: VALUE, ) -> &mut Self
Enables keys to be exportable. This allows for all the valid keys in the key ring to be exported. Once set, this cannot be disabled.
sourcepub fn allow_plaintext_backup<VALUE: Into<Option<bool>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn allow_plaintext_backup<VALUE: Into<Option<bool>>>( &mut self, value: VALUE, ) -> &mut Self
If set, enables taking backup of named key in the plaintext format. Once set, this cannot be disabled.
sourcepub fn auto_rotate_period<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn auto_rotate_period<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
The period at which this key should be rotated automatically. Setting this to “0” will disable automatic key rotation. This value cannot be shorter than one hour. When no value is provided, the period remains unchanged.
sourcepub fn build(
&self,
) -> Result<UpdateKeyConfigurationRequest, UpdateKeyConfigurationRequestBuilderError>
pub fn build( &self, ) -> Result<UpdateKeyConfigurationRequest, UpdateKeyConfigurationRequestBuilderError>
Trait Implementations§
source§impl Clone for UpdateKeyConfigurationRequestBuilder
impl Clone for UpdateKeyConfigurationRequestBuilder
source§fn clone(&self) -> UpdateKeyConfigurationRequestBuilder
fn clone(&self) -> UpdateKeyConfigurationRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateKeyConfigurationRequestBuilder
impl RefUnwindSafe for UpdateKeyConfigurationRequestBuilder
impl Send for UpdateKeyConfigurationRequestBuilder
impl Sync for UpdateKeyConfigurationRequestBuilder
impl Unpin for UpdateKeyConfigurationRequestBuilder
impl UnwindSafe for UpdateKeyConfigurationRequestBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)