Struct aws_sdk_cloudfront::operation::create_key_group::builders::CreateKeyGroupOutputBuilder
source · #[non_exhaustive]pub struct CreateKeyGroupOutputBuilder { /* private fields */ }
Expand description
A builder for CreateKeyGroupOutput
.
Implementations§
source§impl CreateKeyGroupOutputBuilder
impl CreateKeyGroupOutputBuilder
sourcepub fn set_key_group(self, input: Option<KeyGroup>) -> Self
pub fn set_key_group(self, input: Option<KeyGroup>) -> Self
The key group that was just created.
sourcepub fn get_key_group(&self) -> &Option<KeyGroup>
pub fn get_key_group(&self) -> &Option<KeyGroup>
The key group that was just created.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The URL of the key group.
sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
The URL of the key group.
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 key group.
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 key group.
sourcepub fn build(self) -> CreateKeyGroupOutput
pub fn build(self) -> CreateKeyGroupOutput
Consumes the builder and constructs a CreateKeyGroupOutput
.
Trait Implementations§
source§impl Clone for CreateKeyGroupOutputBuilder
impl Clone for CreateKeyGroupOutputBuilder
source§fn clone(&self) -> CreateKeyGroupOutputBuilder
fn clone(&self) -> CreateKeyGroupOutputBuilder
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 CreateKeyGroupOutputBuilder
impl Debug for CreateKeyGroupOutputBuilder
source§impl Default for CreateKeyGroupOutputBuilder
impl Default for CreateKeyGroupOutputBuilder
source§fn default() -> CreateKeyGroupOutputBuilder
fn default() -> CreateKeyGroupOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateKeyGroupOutputBuilder
impl PartialEq for CreateKeyGroupOutputBuilder
source§fn eq(&self, other: &CreateKeyGroupOutputBuilder) -> bool
fn eq(&self, other: &CreateKeyGroupOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateKeyGroupOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateKeyGroupOutputBuilder
impl Send for CreateKeyGroupOutputBuilder
impl Sync for CreateKeyGroupOutputBuilder
impl Unpin for CreateKeyGroupOutputBuilder
impl UnwindSafe for CreateKeyGroupOutputBuilder
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.