#[non_exhaustive]pub struct DeleteKeyPairInputBuilder { /* private fields */ }
Expand description
A builder for DeleteKeyPairInput
.
Implementations§
source§impl DeleteKeyPairInputBuilder
impl DeleteKeyPairInputBuilder
sourcepub fn key_pair_name(self, input: impl Into<String>) -> Self
pub fn key_pair_name(self, input: impl Into<String>) -> Self
The name of the key pair to delete.
This field is required.sourcepub fn set_key_pair_name(self, input: Option<String>) -> Self
pub fn set_key_pair_name(self, input: Option<String>) -> Self
The name of the key pair to delete.
sourcepub fn get_key_pair_name(&self) -> &Option<String>
pub fn get_key_pair_name(&self) -> &Option<String>
The name of the key pair to delete.
sourcepub fn expected_fingerprint(self, input: impl Into<String>) -> Self
pub fn expected_fingerprint(self, input: impl Into<String>) -> Self
The RSA fingerprint of the Lightsail default key pair to delete.
The expectedFingerprint
parameter is required only when specifying to delete a Lightsail default key pair.
sourcepub fn set_expected_fingerprint(self, input: Option<String>) -> Self
pub fn set_expected_fingerprint(self, input: Option<String>) -> Self
The RSA fingerprint of the Lightsail default key pair to delete.
The expectedFingerprint
parameter is required only when specifying to delete a Lightsail default key pair.
sourcepub fn get_expected_fingerprint(&self) -> &Option<String>
pub fn get_expected_fingerprint(&self) -> &Option<String>
The RSA fingerprint of the Lightsail default key pair to delete.
The expectedFingerprint
parameter is required only when specifying to delete a Lightsail default key pair.
sourcepub fn build(self) -> Result<DeleteKeyPairInput, BuildError>
pub fn build(self) -> Result<DeleteKeyPairInput, BuildError>
Consumes the builder and constructs a DeleteKeyPairInput
.
source§impl DeleteKeyPairInputBuilder
impl DeleteKeyPairInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteKeyPairOutput, SdkError<DeleteKeyPairError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteKeyPairOutput, SdkError<DeleteKeyPairError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteKeyPairInputBuilder
impl Clone for DeleteKeyPairInputBuilder
source§fn clone(&self) -> DeleteKeyPairInputBuilder
fn clone(&self) -> DeleteKeyPairInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteKeyPairInputBuilder
impl Debug for DeleteKeyPairInputBuilder
source§impl Default for DeleteKeyPairInputBuilder
impl Default for DeleteKeyPairInputBuilder
source§fn default() -> DeleteKeyPairInputBuilder
fn default() -> DeleteKeyPairInputBuilder
source§impl PartialEq for DeleteKeyPairInputBuilder
impl PartialEq for DeleteKeyPairInputBuilder
source§fn eq(&self, other: &DeleteKeyPairInputBuilder) -> bool
fn eq(&self, other: &DeleteKeyPairInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteKeyPairInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteKeyPairInputBuilder
impl RefUnwindSafe for DeleteKeyPairInputBuilder
impl Send for DeleteKeyPairInputBuilder
impl Sync for DeleteKeyPairInputBuilder
impl Unpin for DeleteKeyPairInputBuilder
impl UnwindSafe for DeleteKeyPairInputBuilder
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