Struct aws_sdk_cloudtrail::types::builders::PublicKeyBuilder
source · #[non_exhaustive]pub struct PublicKeyBuilder { /* private fields */ }
Expand description
A builder for PublicKey
.
Implementations§
source§impl PublicKeyBuilder
impl PublicKeyBuilder
sourcepub fn set_value(self, input: Option<Blob>) -> Self
pub fn set_value(self, input: Option<Blob>) -> Self
The DER encoded public key value in PKCS#1 format.
sourcepub fn validity_start_time(self, input: DateTime) -> Self
pub fn validity_start_time(self, input: DateTime) -> Self
The starting time of validity of the public key.
sourcepub fn set_validity_start_time(self, input: Option<DateTime>) -> Self
pub fn set_validity_start_time(self, input: Option<DateTime>) -> Self
The starting time of validity of the public key.
sourcepub fn get_validity_start_time(&self) -> &Option<DateTime>
pub fn get_validity_start_time(&self) -> &Option<DateTime>
The starting time of validity of the public key.
sourcepub fn validity_end_time(self, input: DateTime) -> Self
pub fn validity_end_time(self, input: DateTime) -> Self
The ending time of validity of the public key.
sourcepub fn set_validity_end_time(self, input: Option<DateTime>) -> Self
pub fn set_validity_end_time(self, input: Option<DateTime>) -> Self
The ending time of validity of the public key.
sourcepub fn get_validity_end_time(&self) -> &Option<DateTime>
pub fn get_validity_end_time(&self) -> &Option<DateTime>
The ending time of validity of the public key.
sourcepub fn fingerprint(self, input: impl Into<String>) -> Self
pub fn fingerprint(self, input: impl Into<String>) -> Self
The fingerprint of the public key.
sourcepub fn set_fingerprint(self, input: Option<String>) -> Self
pub fn set_fingerprint(self, input: Option<String>) -> Self
The fingerprint of the public key.
sourcepub fn get_fingerprint(&self) -> &Option<String>
pub fn get_fingerprint(&self) -> &Option<String>
The fingerprint of the public key.
Trait Implementations§
source§impl Clone for PublicKeyBuilder
impl Clone for PublicKeyBuilder
source§fn clone(&self) -> PublicKeyBuilder
fn clone(&self) -> PublicKeyBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PublicKeyBuilder
impl Debug for PublicKeyBuilder
source§impl Default for PublicKeyBuilder
impl Default for PublicKeyBuilder
source§fn default() -> PublicKeyBuilder
fn default() -> PublicKeyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PublicKeyBuilder
impl PartialEq for PublicKeyBuilder
source§fn eq(&self, other: &PublicKeyBuilder) -> bool
fn eq(&self, other: &PublicKeyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PublicKeyBuilder
Auto Trait Implementations§
impl Freeze for PublicKeyBuilder
impl RefUnwindSafe for PublicKeyBuilder
impl Send for PublicKeyBuilder
impl Sync for PublicKeyBuilder
impl Unpin for PublicKeyBuilder
impl UnwindSafe for PublicKeyBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.