Struct aws_sdk_lightsail::operation::delete_load_balancer_tls_certificate::builders::DeleteLoadBalancerTlsCertificateInputBuilder
source · #[non_exhaustive]pub struct DeleteLoadBalancerTlsCertificateInputBuilder { /* private fields */ }
Expand description
A builder for DeleteLoadBalancerTlsCertificateInput
.
Implementations§
source§impl DeleteLoadBalancerTlsCertificateInputBuilder
impl DeleteLoadBalancerTlsCertificateInputBuilder
sourcepub fn load_balancer_name(self, input: impl Into<String>) -> Self
pub fn load_balancer_name(self, input: impl Into<String>) -> Self
The load balancer name.
This field is required.sourcepub fn set_load_balancer_name(self, input: Option<String>) -> Self
pub fn set_load_balancer_name(self, input: Option<String>) -> Self
The load balancer name.
sourcepub fn get_load_balancer_name(&self) -> &Option<String>
pub fn get_load_balancer_name(&self) -> &Option<String>
The load balancer name.
sourcepub fn certificate_name(self, input: impl Into<String>) -> Self
pub fn certificate_name(self, input: impl Into<String>) -> Self
The SSL/TLS certificate name.
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 SSL/TLS certificate name.
sourcepub fn get_certificate_name(&self) -> &Option<String>
pub fn get_certificate_name(&self) -> &Option<String>
The SSL/TLS certificate name.
sourcepub fn force(self, input: bool) -> Self
pub fn force(self, input: bool) -> Self
When true
, forces the deletion of an SSL/TLS certificate.
There can be two certificates associated with a Lightsail load balancer: the primary and the backup. The force
parameter is required when the primary SSL/TLS certificate is in use by an instance attached to the load balancer.
sourcepub fn set_force(self, input: Option<bool>) -> Self
pub fn set_force(self, input: Option<bool>) -> Self
When true
, forces the deletion of an SSL/TLS certificate.
There can be two certificates associated with a Lightsail load balancer: the primary and the backup. The force
parameter is required when the primary SSL/TLS certificate is in use by an instance attached to the load balancer.
sourcepub fn get_force(&self) -> &Option<bool>
pub fn get_force(&self) -> &Option<bool>
When true
, forces the deletion of an SSL/TLS certificate.
There can be two certificates associated with a Lightsail load balancer: the primary and the backup. The force
parameter is required when the primary SSL/TLS certificate is in use by an instance attached to the load balancer.
sourcepub fn build(self) -> Result<DeleteLoadBalancerTlsCertificateInput, BuildError>
pub fn build(self) -> Result<DeleteLoadBalancerTlsCertificateInput, BuildError>
Consumes the builder and constructs a DeleteLoadBalancerTlsCertificateInput
.
source§impl DeleteLoadBalancerTlsCertificateInputBuilder
impl DeleteLoadBalancerTlsCertificateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteLoadBalancerTlsCertificateOutput, SdkError<DeleteLoadBalancerTlsCertificateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteLoadBalancerTlsCertificateOutput, SdkError<DeleteLoadBalancerTlsCertificateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteLoadBalancerTlsCertificateInputBuilder
impl Clone for DeleteLoadBalancerTlsCertificateInputBuilder
source§fn clone(&self) -> DeleteLoadBalancerTlsCertificateInputBuilder
fn clone(&self) -> DeleteLoadBalancerTlsCertificateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteLoadBalancerTlsCertificateInputBuilder
impl Default for DeleteLoadBalancerTlsCertificateInputBuilder
source§fn default() -> DeleteLoadBalancerTlsCertificateInputBuilder
fn default() -> DeleteLoadBalancerTlsCertificateInputBuilder
source§impl PartialEq for DeleteLoadBalancerTlsCertificateInputBuilder
impl PartialEq for DeleteLoadBalancerTlsCertificateInputBuilder
source§fn eq(&self, other: &DeleteLoadBalancerTlsCertificateInputBuilder) -> bool
fn eq(&self, other: &DeleteLoadBalancerTlsCertificateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteLoadBalancerTlsCertificateInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteLoadBalancerTlsCertificateInputBuilder
impl RefUnwindSafe for DeleteLoadBalancerTlsCertificateInputBuilder
impl Send for DeleteLoadBalancerTlsCertificateInputBuilder
impl Sync for DeleteLoadBalancerTlsCertificateInputBuilder
impl Unpin for DeleteLoadBalancerTlsCertificateInputBuilder
impl UnwindSafe for DeleteLoadBalancerTlsCertificateInputBuilder
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