Struct aws_sdk_lightsail::operation::attach_certificate_to_distribution::builders::AttachCertificateToDistributionInputBuilder
source · #[non_exhaustive]pub struct AttachCertificateToDistributionInputBuilder { /* private fields */ }
Expand description
A builder for AttachCertificateToDistributionInput
.
Implementations§
source§impl AttachCertificateToDistributionInputBuilder
impl AttachCertificateToDistributionInputBuilder
sourcepub fn distribution_name(self, input: impl Into<String>) -> Self
pub fn distribution_name(self, input: impl Into<String>) -> Self
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 set_distribution_name(self, input: Option<String>) -> Self
pub fn set_distribution_name(self, input: Option<String>) -> Self
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 get_distribution_name(&self) -> &Option<String>
pub fn get_distribution_name(&self) -> &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.
sourcepub fn certificate_name(self, input: impl Into<String>) -> Self
pub fn certificate_name(self, input: impl Into<String>) -> Self
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
.
sourcepub fn set_certificate_name(self, input: Option<String>) -> Self
pub fn set_certificate_name(self, input: Option<String>) -> Self
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
.
sourcepub fn get_certificate_name(&self) -> &Option<String>
pub fn get_certificate_name(&self) -> &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
.
sourcepub fn build(self) -> Result<AttachCertificateToDistributionInput, BuildError>
pub fn build(self) -> Result<AttachCertificateToDistributionInput, BuildError>
Consumes the builder and constructs a AttachCertificateToDistributionInput
.
source§impl AttachCertificateToDistributionInputBuilder
impl AttachCertificateToDistributionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AttachCertificateToDistributionOutput, SdkError<AttachCertificateToDistributionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AttachCertificateToDistributionOutput, SdkError<AttachCertificateToDistributionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AttachCertificateToDistributionInputBuilder
impl Clone for AttachCertificateToDistributionInputBuilder
source§fn clone(&self) -> AttachCertificateToDistributionInputBuilder
fn clone(&self) -> AttachCertificateToDistributionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AttachCertificateToDistributionInputBuilder
impl Default for AttachCertificateToDistributionInputBuilder
source§fn default() -> AttachCertificateToDistributionInputBuilder
fn default() -> AttachCertificateToDistributionInputBuilder
source§impl PartialEq for AttachCertificateToDistributionInputBuilder
impl PartialEq for AttachCertificateToDistributionInputBuilder
source§fn eq(&self, other: &AttachCertificateToDistributionInputBuilder) -> bool
fn eq(&self, other: &AttachCertificateToDistributionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttachCertificateToDistributionInputBuilder
Auto Trait Implementations§
impl Freeze for AttachCertificateToDistributionInputBuilder
impl RefUnwindSafe for AttachCertificateToDistributionInputBuilder
impl Send for AttachCertificateToDistributionInputBuilder
impl Sync for AttachCertificateToDistributionInputBuilder
impl Unpin for AttachCertificateToDistributionInputBuilder
impl UnwindSafe for AttachCertificateToDistributionInputBuilder
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