Struct aws_sdk_iot::operation::register_certificate_without_ca::builders::RegisterCertificateWithoutCaInputBuilder
source · #[non_exhaustive]pub struct RegisterCertificateWithoutCaInputBuilder { /* private fields */ }
Expand description
A builder for RegisterCertificateWithoutCaInput
.
Implementations§
source§impl RegisterCertificateWithoutCaInputBuilder
impl RegisterCertificateWithoutCaInputBuilder
sourcepub fn certificate_pem(self, input: impl Into<String>) -> Self
pub fn certificate_pem(self, input: impl Into<String>) -> Self
The certificate data, in PEM format.
This field is required.sourcepub fn set_certificate_pem(self, input: Option<String>) -> Self
pub fn set_certificate_pem(self, input: Option<String>) -> Self
The certificate data, in PEM format.
sourcepub fn get_certificate_pem(&self) -> &Option<String>
pub fn get_certificate_pem(&self) -> &Option<String>
The certificate data, in PEM format.
sourcepub fn status(self, input: CertificateStatus) -> Self
pub fn status(self, input: CertificateStatus) -> Self
The status of the register certificate request.
sourcepub fn set_status(self, input: Option<CertificateStatus>) -> Self
pub fn set_status(self, input: Option<CertificateStatus>) -> Self
The status of the register certificate request.
sourcepub fn get_status(&self) -> &Option<CertificateStatus>
pub fn get_status(&self) -> &Option<CertificateStatus>
The status of the register certificate request.
sourcepub fn build(self) -> Result<RegisterCertificateWithoutCaInput, BuildError>
pub fn build(self) -> Result<RegisterCertificateWithoutCaInput, BuildError>
Consumes the builder and constructs a RegisterCertificateWithoutCaInput
.
source§impl RegisterCertificateWithoutCaInputBuilder
impl RegisterCertificateWithoutCaInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RegisterCertificateWithoutCaOutput, SdkError<RegisterCertificateWithoutCAError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RegisterCertificateWithoutCaOutput, SdkError<RegisterCertificateWithoutCAError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RegisterCertificateWithoutCaInputBuilder
impl Clone for RegisterCertificateWithoutCaInputBuilder
source§fn clone(&self) -> RegisterCertificateWithoutCaInputBuilder
fn clone(&self) -> RegisterCertificateWithoutCaInputBuilder
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 Default for RegisterCertificateWithoutCaInputBuilder
impl Default for RegisterCertificateWithoutCaInputBuilder
source§fn default() -> RegisterCertificateWithoutCaInputBuilder
fn default() -> RegisterCertificateWithoutCaInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RegisterCertificateWithoutCaInputBuilder
impl PartialEq for RegisterCertificateWithoutCaInputBuilder
source§fn eq(&self, other: &RegisterCertificateWithoutCaInputBuilder) -> bool
fn eq(&self, other: &RegisterCertificateWithoutCaInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegisterCertificateWithoutCaInputBuilder
Auto Trait Implementations§
impl Freeze for RegisterCertificateWithoutCaInputBuilder
impl RefUnwindSafe for RegisterCertificateWithoutCaInputBuilder
impl Send for RegisterCertificateWithoutCaInputBuilder
impl Sync for RegisterCertificateWithoutCaInputBuilder
impl Unpin for RegisterCertificateWithoutCaInputBuilder
impl UnwindSafe for RegisterCertificateWithoutCaInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.