#[non_exhaustive]pub struct ExportKeyInputBuilder { /* private fields */ }
Expand description
A builder for ExportKeyInput
.
Implementations§
source§impl ExportKeyInputBuilder
impl ExportKeyInputBuilder
sourcepub fn key_material(self, input: ExportKeyMaterial) -> Self
pub fn key_material(self, input: ExportKeyMaterial) -> Self
The key block format type, for example, TR-34 or TR-31, to use during key material export.
sourcepub fn set_key_material(self, input: Option<ExportKeyMaterial>) -> Self
pub fn set_key_material(self, input: Option<ExportKeyMaterial>) -> Self
The key block format type, for example, TR-34 or TR-31, to use during key material export.
sourcepub fn get_key_material(&self) -> &Option<ExportKeyMaterial>
pub fn get_key_material(&self) -> &Option<ExportKeyMaterial>
The key block format type, for example, TR-34 or TR-31, to use during key material export.
sourcepub fn export_key_identifier(self, input: impl Into<String>) -> Self
pub fn export_key_identifier(self, input: impl Into<String>) -> Self
The KeyARN
of the key under export from Amazon Web Services Payment Cryptography.
sourcepub fn set_export_key_identifier(self, input: Option<String>) -> Self
pub fn set_export_key_identifier(self, input: Option<String>) -> Self
The KeyARN
of the key under export from Amazon Web Services Payment Cryptography.
sourcepub fn get_export_key_identifier(&self) -> &Option<String>
pub fn get_export_key_identifier(&self) -> &Option<String>
The KeyARN
of the key under export from Amazon Web Services Payment Cryptography.
sourcepub fn build(self) -> Result<ExportKeyInput, BuildError>
pub fn build(self) -> Result<ExportKeyInput, BuildError>
Consumes the builder and constructs a ExportKeyInput
.
source§impl ExportKeyInputBuilder
impl ExportKeyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ExportKeyOutput, SdkError<ExportKeyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ExportKeyOutput, SdkError<ExportKeyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ExportKeyInputBuilder
impl Clone for ExportKeyInputBuilder
source§fn clone(&self) -> ExportKeyInputBuilder
fn clone(&self) -> ExportKeyInputBuilder
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 ExportKeyInputBuilder
impl Debug for ExportKeyInputBuilder
source§impl Default for ExportKeyInputBuilder
impl Default for ExportKeyInputBuilder
source§fn default() -> ExportKeyInputBuilder
fn default() -> ExportKeyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExportKeyInputBuilder
impl PartialEq for ExportKeyInputBuilder
source§fn eq(&self, other: &ExportKeyInputBuilder) -> bool
fn eq(&self, other: &ExportKeyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportKeyInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ExportKeyInputBuilder
impl Send for ExportKeyInputBuilder
impl Sync for ExportKeyInputBuilder
impl Unpin for ExportKeyInputBuilder
impl UnwindSafe for ExportKeyInputBuilder
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