Struct aws_sdk_lightsail::operation::attach_certificate_to_distribution::AttachCertificateToDistributionInput
source · #[non_exhaustive]pub struct AttachCertificateToDistributionInput {
pub distribution_name: Option<String>,
pub certificate_name: Option<String>,
}
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.distribution_name: Option<String>
The name of the distribution that the certificate will be attached to.
Use the GetDistributions
action to get a list of distribution names that you can specify.
certificate_name: Option<String>
The name of the certificate to attach to a distribution.
Only certificates with a status of ISSUED
can be attached to a distribution.
Use the GetCertificates
action to get a list of certificate names that you can specify.
This is the name of the certificate resource type and is used only to reference the certificate in other API actions. It can be different than the domain name of the certificate. For example, your certificate name might be WordPress-Blog-Certificate
and the domain name of the certificate might be example.com
.
Implementations§
source§impl AttachCertificateToDistributionInput
impl AttachCertificateToDistributionInput
sourcepub fn distribution_name(&self) -> Option<&str>
pub fn distribution_name(&self) -> Option<&str>
The name of the distribution that the certificate will be attached to.
Use the GetDistributions
action to get a list of distribution names that you can specify.
sourcepub fn certificate_name(&self) -> Option<&str>
pub fn certificate_name(&self) -> Option<&str>
The name of the certificate to attach to a distribution.
Only certificates with a status of ISSUED
can be attached to a distribution.
Use the GetCertificates
action to get a list of certificate names that you can specify.
This is the name of the certificate resource type and is used only to reference the certificate in other API actions. It can be different than the domain name of the certificate. For example, your certificate name might be WordPress-Blog-Certificate
and the domain name of the certificate might be example.com
.
source§impl AttachCertificateToDistributionInput
impl AttachCertificateToDistributionInput
sourcepub fn builder() -> AttachCertificateToDistributionInputBuilder
pub fn builder() -> AttachCertificateToDistributionInputBuilder
Creates a new builder-style object to manufacture AttachCertificateToDistributionInput
.
Trait Implementations§
source§impl Clone for AttachCertificateToDistributionInput
impl Clone for AttachCertificateToDistributionInput
source§fn clone(&self) -> AttachCertificateToDistributionInput
fn clone(&self) -> AttachCertificateToDistributionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AttachCertificateToDistributionInput
impl PartialEq for AttachCertificateToDistributionInput
source§fn eq(&self, other: &AttachCertificateToDistributionInput) -> bool
fn eq(&self, other: &AttachCertificateToDistributionInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttachCertificateToDistributionInput
Auto Trait Implementations§
impl Freeze for AttachCertificateToDistributionInput
impl RefUnwindSafe for AttachCertificateToDistributionInput
impl Send for AttachCertificateToDistributionInput
impl Sync for AttachCertificateToDistributionInput
impl Unpin for AttachCertificateToDistributionInput
impl UnwindSafe for AttachCertificateToDistributionInput
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