Struct aws_sdk_cloudfront::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 id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the public key.
This field is required.sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The date and time when the public key was uploaded.
This field is required.sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The date and time when the public key was uploaded.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
The date and time when the public key was uploaded.
sourcepub fn public_key_config(self, input: PublicKeyConfig) -> Self
pub fn public_key_config(self, input: PublicKeyConfig) -> Self
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
This field is required.sourcepub fn set_public_key_config(self, input: Option<PublicKeyConfig>) -> Self
pub fn set_public_key_config(self, input: Option<PublicKeyConfig>) -> Self
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
sourcepub fn get_public_key_config(&self) -> &Option<PublicKeyConfig>
pub fn get_public_key_config(&self) -> &Option<PublicKeyConfig>
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
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 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>
Creates a shared type from an unshared type.