Struct aws_sdk_cloudfront::operation::create_public_key::builders::CreatePublicKeyOutputBuilder
source · #[non_exhaustive]pub struct CreatePublicKeyOutputBuilder { /* private fields */ }
Expand description
A builder for CreatePublicKeyOutput
.
Implementations§
source§impl CreatePublicKeyOutputBuilder
impl CreatePublicKeyOutputBuilder
sourcepub fn public_key(self, input: PublicKey) -> Self
pub fn public_key(self, input: PublicKey) -> Self
The public key.
sourcepub fn set_public_key(self, input: Option<PublicKey>) -> Self
pub fn set_public_key(self, input: Option<PublicKey>) -> Self
The public key.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The URL of the public key.
sourcepub fn e_tag(self, input: impl Into<String>) -> Self
pub fn e_tag(self, input: impl Into<String>) -> Self
The identifier for this version of the public key.
sourcepub fn set_e_tag(self, input: Option<String>) -> Self
pub fn set_e_tag(self, input: Option<String>) -> Self
The identifier for this version of the public key.
sourcepub fn build(self) -> CreatePublicKeyOutput
pub fn build(self) -> CreatePublicKeyOutput
Consumes the builder and constructs a CreatePublicKeyOutput
.
Trait Implementations§
source§impl Clone for CreatePublicKeyOutputBuilder
impl Clone for CreatePublicKeyOutputBuilder
source§fn clone(&self) -> CreatePublicKeyOutputBuilder
fn clone(&self) -> CreatePublicKeyOutputBuilder
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 CreatePublicKeyOutputBuilder
impl Debug for CreatePublicKeyOutputBuilder
source§impl Default for CreatePublicKeyOutputBuilder
impl Default for CreatePublicKeyOutputBuilder
source§fn default() -> CreatePublicKeyOutputBuilder
fn default() -> CreatePublicKeyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreatePublicKeyOutputBuilder> for CreatePublicKeyOutputBuilder
impl PartialEq<CreatePublicKeyOutputBuilder> for CreatePublicKeyOutputBuilder
source§fn eq(&self, other: &CreatePublicKeyOutputBuilder) -> bool
fn eq(&self, other: &CreatePublicKeyOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.