Struct aws_sdk_lightsail::operation::get_certificates::builders::GetCertificatesFluentBuilder
source · pub struct GetCertificatesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetCertificates
.
Returns information about one or more Amazon Lightsail SSL/TLS certificates.
To get a summary of a certificate, omit includeCertificateDetails
from your request. The response will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.
Implementations§
source§impl GetCertificatesFluentBuilder
impl GetCertificatesFluentBuilder
sourcepub fn as_input(&self) -> &GetCertificatesInputBuilder
pub fn as_input(&self) -> &GetCertificatesInputBuilder
Access the GetCertificates as a reference.
sourcepub async fn send(
self
) -> Result<GetCertificatesOutput, SdkError<GetCertificatesError, HttpResponse>>
pub async fn send( self ) -> Result<GetCertificatesOutput, SdkError<GetCertificatesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetCertificatesOutput, GetCertificatesError, Self>
pub fn customize( self ) -> CustomizableOperation<GetCertificatesOutput, GetCertificatesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn certificate_statuses(self, input: CertificateStatus) -> Self
pub fn certificate_statuses(self, input: CertificateStatus) -> Self
Appends an item to certificateStatuses
.
To override the contents of this collection use set_certificate_statuses
.
The status of the certificates for which to return information.
For example, specify ISSUED
to return only certificates with an ISSUED
status.
When omitted, the response includes all of your certificates in the Amazon Web Services Region where the request is made, regardless of their current status.
sourcepub fn set_certificate_statuses(
self,
input: Option<Vec<CertificateStatus>>
) -> Self
pub fn set_certificate_statuses( self, input: Option<Vec<CertificateStatus>> ) -> Self
The status of the certificates for which to return information.
For example, specify ISSUED
to return only certificates with an ISSUED
status.
When omitted, the response includes all of your certificates in the Amazon Web Services Region where the request is made, regardless of their current status.
sourcepub fn get_certificate_statuses(&self) -> &Option<Vec<CertificateStatus>>
pub fn get_certificate_statuses(&self) -> &Option<Vec<CertificateStatus>>
The status of the certificates for which to return information.
For example, specify ISSUED
to return only certificates with an ISSUED
status.
When omitted, the response includes all of your certificates in the Amazon Web Services Region where the request is made, regardless of their current status.
sourcepub fn include_certificate_details(self, input: bool) -> Self
pub fn include_certificate_details(self, input: bool) -> Self
Indicates whether to include detailed information about the certificates in the response.
When omitted, the response includes only the certificate names, Amazon Resource Names (ARNs), domain names, and tags.
sourcepub fn set_include_certificate_details(self, input: Option<bool>) -> Self
pub fn set_include_certificate_details(self, input: Option<bool>) -> Self
Indicates whether to include detailed information about the certificates in the response.
When omitted, the response includes only the certificate names, Amazon Resource Names (ARNs), domain names, and tags.
sourcepub fn get_include_certificate_details(&self) -> &Option<bool>
pub fn get_include_certificate_details(&self) -> &Option<bool>
Indicates whether to include detailed information about the certificates in the response.
When omitted, the response includes only the certificate names, Amazon Resource Names (ARNs), domain names, and tags.
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 for which to return information.
When omitted, the response includes all of your certificates in the Amazon Web Services Region where the request is made.
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 for which to return information.
When omitted, the response includes all of your certificates in the Amazon Web Services Region where the request is made.
sourcepub fn get_certificate_name(&self) -> &Option<String>
pub fn get_certificate_name(&self) -> &Option<String>
The name for the certificate for which to return information.
When omitted, the response includes all of your certificates in the Amazon Web Services Region where the request is made.
sourcepub fn page_token(self, input: impl Into<String>) -> Self
pub fn page_token(self, input: impl Into<String>) -> Self
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetCertificates
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
sourcepub fn set_page_token(self, input: Option<String>) -> Self
pub fn set_page_token(self, input: Option<String>) -> Self
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetCertificates
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
sourcepub fn get_page_token(&self) -> &Option<String>
pub fn get_page_token(&self) -> &Option<String>
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetCertificates
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
Trait Implementations§
source§impl Clone for GetCertificatesFluentBuilder
impl Clone for GetCertificatesFluentBuilder
source§fn clone(&self) -> GetCertificatesFluentBuilder
fn clone(&self) -> GetCertificatesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for GetCertificatesFluentBuilder
impl !RefUnwindSafe for GetCertificatesFluentBuilder
impl Send for GetCertificatesFluentBuilder
impl Sync for GetCertificatesFluentBuilder
impl Unpin for GetCertificatesFluentBuilder
impl !UnwindSafe for GetCertificatesFluentBuilder
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