#[non_exhaustive]pub struct DeleteKeyInputBuilder { /* private fields */ }
Expand description
A builder for DeleteKeyInput
.
Implementations§
source§impl DeleteKeyInputBuilder
impl DeleteKeyInputBuilder
sourcepub fn key_identifier(self, input: impl Into<String>) -> Self
pub fn key_identifier(self, input: impl Into<String>) -> Self
The KeyARN
of the key that is scheduled for deletion.
sourcepub fn set_key_identifier(self, input: Option<String>) -> Self
pub fn set_key_identifier(self, input: Option<String>) -> Self
The KeyARN
of the key that is scheduled for deletion.
sourcepub fn get_key_identifier(&self) -> &Option<String>
pub fn get_key_identifier(&self) -> &Option<String>
The KeyARN
of the key that is scheduled for deletion.
sourcepub fn delete_key_in_days(self, input: i32) -> Self
pub fn delete_key_in_days(self, input: i32) -> Self
The waiting period for key deletion. The default value is seven days.
sourcepub fn set_delete_key_in_days(self, input: Option<i32>) -> Self
pub fn set_delete_key_in_days(self, input: Option<i32>) -> Self
The waiting period for key deletion. The default value is seven days.
sourcepub fn get_delete_key_in_days(&self) -> &Option<i32>
pub fn get_delete_key_in_days(&self) -> &Option<i32>
The waiting period for key deletion. The default value is seven days.
sourcepub fn build(self) -> Result<DeleteKeyInput, BuildError>
pub fn build(self) -> Result<DeleteKeyInput, BuildError>
Consumes the builder and constructs a DeleteKeyInput
.
source§impl DeleteKeyInputBuilder
impl DeleteKeyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteKeyOutput, SdkError<DeleteKeyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteKeyOutput, SdkError<DeleteKeyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteKeyInputBuilder
impl Clone for DeleteKeyInputBuilder
source§fn clone(&self) -> DeleteKeyInputBuilder
fn clone(&self) -> DeleteKeyInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeleteKeyInputBuilder
impl Debug for DeleteKeyInputBuilder
source§impl Default for DeleteKeyInputBuilder
impl Default for DeleteKeyInputBuilder
source§fn default() -> DeleteKeyInputBuilder
fn default() -> DeleteKeyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteKeyInputBuilder
impl PartialEq for DeleteKeyInputBuilder
source§fn eq(&self, other: &DeleteKeyInputBuilder) -> bool
fn eq(&self, other: &DeleteKeyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteKeyInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteKeyInputBuilder
impl Send for DeleteKeyInputBuilder
impl Sync for DeleteKeyInputBuilder
impl Unpin for DeleteKeyInputBuilder
impl UnwindSafe for DeleteKeyInputBuilder
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
Mutably borrows from an owned value. Read more