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 get_public_key(&self) -> &Option<PublicKey>
pub fn get_public_key(&self) -> &Option<PublicKey>
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 get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
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 for CreatePublicKeyOutputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for CreatePublicKeyOutputBuilder
Auto Trait Implementations§
impl Freeze for CreatePublicKeyOutputBuilder
impl RefUnwindSafe for CreatePublicKeyOutputBuilder
impl Send for CreatePublicKeyOutputBuilder
impl Sync for CreatePublicKeyOutputBuilder
impl Unpin for CreatePublicKeyOutputBuilder
impl UnwindSafe for CreatePublicKeyOutputBuilder
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.