Struct aws_sdk_lightsail::operation::create_certificate::builders::CreateCertificateInputBuilder
source · #[non_exhaustive]pub struct CreateCertificateInputBuilder { /* private fields */ }
Expand description
A builder for CreateCertificateInput
.
Implementations§
source§impl CreateCertificateInputBuilder
impl CreateCertificateInputBuilder
sourcepub fn certificate_name(self, input: impl Into<String>) -> Self
pub fn certificate_name(self, input: impl Into<String>) -> Self
The name for the certificate.
This field is required.sourcepub fn set_certificate_name(self, input: Option<String>) -> Self
pub fn set_certificate_name(self, input: Option<String>) -> Self
The name for the certificate.
sourcepub fn get_certificate_name(&self) -> &Option<String>
pub fn get_certificate_name(&self) -> &Option<String>
The name for the certificate.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The domain name (example.com
) for the certificate.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The domain name (example.com
) for the certificate.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The domain name (example.com
) for the certificate.
sourcepub fn subject_alternative_names(self, input: impl Into<String>) -> Self
pub fn subject_alternative_names(self, input: impl Into<String>) -> Self
Appends an item to subject_alternative_names
.
To override the contents of this collection use set_subject_alternative_names
.
An array of strings that specify the alternate domains (example2.com
) and subdomains (blog.example.com
) for the certificate.
You can specify a maximum of nine alternate domains (in addition to the primary domain name).
Wildcard domain entries (*.example.com
) are not supported.
sourcepub fn set_subject_alternative_names(self, input: Option<Vec<String>>) -> Self
pub fn set_subject_alternative_names(self, input: Option<Vec<String>>) -> Self
An array of strings that specify the alternate domains (example2.com
) and subdomains (blog.example.com
) for the certificate.
You can specify a maximum of nine alternate domains (in addition to the primary domain name).
Wildcard domain entries (*.example.com
) are not supported.
sourcepub fn get_subject_alternative_names(&self) -> &Option<Vec<String>>
pub fn get_subject_alternative_names(&self) -> &Option<Vec<String>>
An array of strings that specify the alternate domains (example2.com
) and subdomains (blog.example.com
) for the certificate.
You can specify a maximum of nine alternate domains (in addition to the primary domain name).
Wildcard domain entries (*.example.com
) are not supported.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tag keys and optional values to add to the certificate during create.
Use the TagResource
action to tag a resource after it's created.
The tag keys and optional values to add to the certificate during create.
Use the TagResource
action to tag a resource after it's created.
The tag keys and optional values to add to the certificate during create.
Use the TagResource
action to tag a resource after it's created.
sourcepub fn build(self) -> Result<CreateCertificateInput, BuildError>
pub fn build(self) -> Result<CreateCertificateInput, BuildError>
Consumes the builder and constructs a CreateCertificateInput
.
source§impl CreateCertificateInputBuilder
impl CreateCertificateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateCertificateOutput, SdkError<CreateCertificateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateCertificateOutput, SdkError<CreateCertificateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateCertificateInputBuilder
impl Clone for CreateCertificateInputBuilder
source§fn clone(&self) -> CreateCertificateInputBuilder
fn clone(&self) -> CreateCertificateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateCertificateInputBuilder
impl Default for CreateCertificateInputBuilder
source§fn default() -> CreateCertificateInputBuilder
fn default() -> CreateCertificateInputBuilder
source§impl PartialEq for CreateCertificateInputBuilder
impl PartialEq for CreateCertificateInputBuilder
source§fn eq(&self, other: &CreateCertificateInputBuilder) -> bool
fn eq(&self, other: &CreateCertificateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateCertificateInputBuilder
Auto Trait Implementations§
impl Freeze for CreateCertificateInputBuilder
impl RefUnwindSafe for CreateCertificateInputBuilder
impl Send for CreateCertificateInputBuilder
impl Sync for CreateCertificateInputBuilder
impl Unpin for CreateCertificateInputBuilder
impl UnwindSafe for CreateCertificateInputBuilder
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