Struct aws_sdk_cloudhsm::operation::create_luna_client::builders::CreateLunaClientInputBuilder
source · #[non_exhaustive]pub struct CreateLunaClientInputBuilder { /* private fields */ }Expand description
A builder for CreateLunaClientInput.
Implementations§
source§impl CreateLunaClientInputBuilder
impl CreateLunaClientInputBuilder
sourcepub fn certificate(self, input: impl Into<String>) -> Self
pub fn certificate(self, input: impl Into<String>) -> Self
The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used by this client.
This field is required.sourcepub fn set_certificate(self, input: Option<String>) -> Self
pub fn set_certificate(self, input: Option<String>) -> Self
The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used by this client.
sourcepub fn get_certificate(&self) -> &Option<String>
pub fn get_certificate(&self) -> &Option<String>
The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used by this client.
sourcepub fn build(self) -> Result<CreateLunaClientInput, BuildError>
pub fn build(self) -> Result<CreateLunaClientInput, BuildError>
Consumes the builder and constructs a CreateLunaClientInput.
source§impl CreateLunaClientInputBuilder
impl CreateLunaClientInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateLunaClientOutput, SdkError<CreateLunaClientError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateLunaClientOutput, SdkError<CreateLunaClientError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLunaClientInputBuilder
impl Clone for CreateLunaClientInputBuilder
source§fn clone(&self) -> CreateLunaClientInputBuilder
fn clone(&self) -> CreateLunaClientInputBuilder
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 CreateLunaClientInputBuilder
impl Debug for CreateLunaClientInputBuilder
source§impl Default for CreateLunaClientInputBuilder
impl Default for CreateLunaClientInputBuilder
source§fn default() -> CreateLunaClientInputBuilder
fn default() -> CreateLunaClientInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateLunaClientInputBuilder
impl PartialEq for CreateLunaClientInputBuilder
source§fn eq(&self, other: &CreateLunaClientInputBuilder) -> bool
fn eq(&self, other: &CreateLunaClientInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateLunaClientInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateLunaClientInputBuilder
impl Send for CreateLunaClientInputBuilder
impl Sync for CreateLunaClientInputBuilder
impl Unpin for CreateLunaClientInputBuilder
impl UnwindSafe for CreateLunaClientInputBuilder
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
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>
Creates a shared type from an unshared type.