#[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.
This field is required.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 export_attributes(self, input: ExportAttributes) -> Self
pub fn export_attributes(self, input: ExportAttributes) -> Self
The attributes for IPEK generation during export.
sourcepub fn set_export_attributes(self, input: Option<ExportAttributes>) -> Self
pub fn set_export_attributes(self, input: Option<ExportAttributes>) -> Self
The attributes for IPEK generation during export.
sourcepub fn get_export_attributes(&self) -> &Option<ExportAttributes>
pub fn get_export_attributes(&self) -> &Option<ExportAttributes>
The attributes for IPEK generation during export.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for ExportKeyInputBuilder
impl PartialEq for ExportKeyInputBuilder
source§fn eq(&self, other: &ExportKeyInputBuilder) -> bool
fn eq(&self, other: &ExportKeyInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExportKeyInputBuilder
Auto Trait Implementations§
impl Freeze for ExportKeyInputBuilder
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
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