#[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 ==.