#[non_exhaustive]pub struct ImportCertificateInput {
pub certificate_arn: Option<String>,
pub certificate: Option<Blob>,
pub private_key: Option<Blob>,
pub certificate_chain: Option<Blob>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.certificate_arn: Option<String>
The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.
certificate: Option<Blob>
The certificate to import.
private_key: Option<Blob>
The private key that matches the public key in the certificate.
certificate_chain: Option<Blob>
The PEM encoded certificate chain.
One or more resource tags to associate with the imported certificate.
Note: You cannot apply tags when reimporting a certificate.
Implementations§
source§impl ImportCertificateInput
impl ImportCertificateInput
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.
sourcepub fn certificate(&self) -> Option<&Blob>
pub fn certificate(&self) -> Option<&Blob>
The certificate to import.
sourcepub fn private_key(&self) -> Option<&Blob>
pub fn private_key(&self) -> Option<&Blob>
The private key that matches the public key in the certificate.
sourcepub fn certificate_chain(&self) -> Option<&Blob>
pub fn certificate_chain(&self) -> Option<&Blob>
The PEM encoded certificate chain.
One or more resource tags to associate with the imported certificate.
Note: You cannot apply tags when reimporting a certificate.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl ImportCertificateInput
impl ImportCertificateInput
sourcepub fn builder() -> ImportCertificateInputBuilder
pub fn builder() -> ImportCertificateInputBuilder
Creates a new builder-style object to manufacture ImportCertificateInput
.
Trait Implementations§
source§impl Clone for ImportCertificateInput
impl Clone for ImportCertificateInput
source§fn clone(&self) -> ImportCertificateInput
fn clone(&self) -> ImportCertificateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportCertificateInput
impl Debug for ImportCertificateInput
source§impl PartialEq for ImportCertificateInput
impl PartialEq for ImportCertificateInput
source§fn eq(&self, other: &ImportCertificateInput) -> bool
fn eq(&self, other: &ImportCertificateInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportCertificateInput
Auto Trait Implementations§
impl Freeze for ImportCertificateInput
impl RefUnwindSafe for ImportCertificateInput
impl Send for ImportCertificateInput
impl Sync for ImportCertificateInput
impl Unpin for ImportCertificateInput
impl UnwindSafe for ImportCertificateInput
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