Struct aws_sdk_cloudfront::operation::create_key_group::builders::CreateKeyGroupInputBuilder
source · #[non_exhaustive]pub struct CreateKeyGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateKeyGroupInput
.
Implementations§
source§impl CreateKeyGroupInputBuilder
impl CreateKeyGroupInputBuilder
sourcepub fn key_group_config(self, input: KeyGroupConfig) -> Self
pub fn key_group_config(self, input: KeyGroupConfig) -> Self
A key group configuration.
This field is required.sourcepub fn set_key_group_config(self, input: Option<KeyGroupConfig>) -> Self
pub fn set_key_group_config(self, input: Option<KeyGroupConfig>) -> Self
A key group configuration.
sourcepub fn get_key_group_config(&self) -> &Option<KeyGroupConfig>
pub fn get_key_group_config(&self) -> &Option<KeyGroupConfig>
A key group configuration.
sourcepub fn build(self) -> Result<CreateKeyGroupInput, BuildError>
pub fn build(self) -> Result<CreateKeyGroupInput, BuildError>
Consumes the builder and constructs a CreateKeyGroupInput
.
source§impl CreateKeyGroupInputBuilder
impl CreateKeyGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateKeyGroupOutput, SdkError<CreateKeyGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateKeyGroupOutput, SdkError<CreateKeyGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateKeyGroupInputBuilder
impl Clone for CreateKeyGroupInputBuilder
source§fn clone(&self) -> CreateKeyGroupInputBuilder
fn clone(&self) -> CreateKeyGroupInputBuilder
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 CreateKeyGroupInputBuilder
impl Debug for CreateKeyGroupInputBuilder
source§impl Default for CreateKeyGroupInputBuilder
impl Default for CreateKeyGroupInputBuilder
source§fn default() -> CreateKeyGroupInputBuilder
fn default() -> CreateKeyGroupInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateKeyGroupInputBuilder
impl PartialEq for CreateKeyGroupInputBuilder
source§fn eq(&self, other: &CreateKeyGroupInputBuilder) -> bool
fn eq(&self, other: &CreateKeyGroupInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateKeyGroupInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateKeyGroupInputBuilder
impl Send for CreateKeyGroupInputBuilder
impl Sync for CreateKeyGroupInputBuilder
impl Unpin for CreateKeyGroupInputBuilder
impl UnwindSafe for CreateKeyGroupInputBuilder
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.