Struct aws_sdk_cloudfront::types::builders::PublicKeyConfigBuilder
source · #[non_exhaustive]pub struct PublicKeyConfigBuilder { /* private fields */ }
Expand description
A builder for PublicKeyConfig
.
Implementations§
source§impl PublicKeyConfigBuilder
impl PublicKeyConfigBuilder
sourcepub fn caller_reference(self, input: impl Into<String>) -> Self
pub fn caller_reference(self, input: impl Into<String>) -> Self
A string included in the request to help make sure that the request can't be replayed.
sourcepub fn set_caller_reference(self, input: Option<String>) -> Self
pub fn set_caller_reference(self, input: Option<String>) -> Self
A string included in the request to help make sure that the request can't be replayed.
sourcepub fn encoded_key(self, input: impl Into<String>) -> Self
pub fn encoded_key(self, input: impl Into<String>) -> Self
The public key that you can use with signed URLs and signed cookies, or with field-level encryption.
sourcepub fn set_encoded_key(self, input: Option<String>) -> Self
pub fn set_encoded_key(self, input: Option<String>) -> Self
The public key that you can use with signed URLs and signed cookies, or with field-level encryption.
sourcepub fn comment(self, input: impl Into<String>) -> Self
pub fn comment(self, input: impl Into<String>) -> Self
A comment to describe the public key. The comment cannot be longer than 128 characters.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
A comment to describe the public key. The comment cannot be longer than 128 characters.
sourcepub fn build(self) -> PublicKeyConfig
pub fn build(self) -> PublicKeyConfig
Consumes the builder and constructs a PublicKeyConfig
.
Trait Implementations§
source§impl Clone for PublicKeyConfigBuilder
impl Clone for PublicKeyConfigBuilder
source§fn clone(&self) -> PublicKeyConfigBuilder
fn clone(&self) -> PublicKeyConfigBuilder
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 PublicKeyConfigBuilder
impl Debug for PublicKeyConfigBuilder
source§impl Default for PublicKeyConfigBuilder
impl Default for PublicKeyConfigBuilder
source§fn default() -> PublicKeyConfigBuilder
fn default() -> PublicKeyConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PublicKeyConfigBuilder> for PublicKeyConfigBuilder
impl PartialEq<PublicKeyConfigBuilder> for PublicKeyConfigBuilder
source§fn eq(&self, other: &PublicKeyConfigBuilder) -> bool
fn eq(&self, other: &PublicKeyConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.