Struct aws_sdk_cloudfront::operation::update_key_group::builders::UpdateKeyGroupInputBuilder
source · #[non_exhaustive]pub struct UpdateKeyGroupInputBuilder { /* private fields */ }
Expand description
A builder for UpdateKeyGroupInput
.
Implementations§
source§impl UpdateKeyGroupInputBuilder
impl UpdateKeyGroupInputBuilder
sourcepub fn key_group_config(self, input: KeyGroupConfig) -> Self
pub fn key_group_config(self, input: KeyGroupConfig) -> Self
The 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
The key group configuration.
sourcepub fn get_key_group_config(&self) -> &Option<KeyGroupConfig>
pub fn get_key_group_config(&self) -> &Option<KeyGroupConfig>
The key group configuration.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the key group that you are updating.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the key group that you are updating.
sourcepub fn if_match(self, input: impl Into<String>) -> Self
pub fn if_match(self, input: impl Into<String>) -> Self
The version of the key group that you are updating. The version is the key group's ETag
value.
sourcepub fn set_if_match(self, input: Option<String>) -> Self
pub fn set_if_match(self, input: Option<String>) -> Self
The version of the key group that you are updating. The version is the key group's ETag
value.
sourcepub fn get_if_match(&self) -> &Option<String>
pub fn get_if_match(&self) -> &Option<String>
The version of the key group that you are updating. The version is the key group's ETag
value.
sourcepub fn build(self) -> Result<UpdateKeyGroupInput, BuildError>
pub fn build(self) -> Result<UpdateKeyGroupInput, BuildError>
Consumes the builder and constructs a UpdateKeyGroupInput
.
source§impl UpdateKeyGroupInputBuilder
impl UpdateKeyGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateKeyGroupOutput, SdkError<UpdateKeyGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateKeyGroupOutput, SdkError<UpdateKeyGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateKeyGroupInputBuilder
impl Clone for UpdateKeyGroupInputBuilder
source§fn clone(&self) -> UpdateKeyGroupInputBuilder
fn clone(&self) -> UpdateKeyGroupInputBuilder
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 UpdateKeyGroupInputBuilder
impl Debug for UpdateKeyGroupInputBuilder
source§impl Default for UpdateKeyGroupInputBuilder
impl Default for UpdateKeyGroupInputBuilder
source§fn default() -> UpdateKeyGroupInputBuilder
fn default() -> UpdateKeyGroupInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateKeyGroupInputBuilder
impl PartialEq for UpdateKeyGroupInputBuilder
source§fn eq(&self, other: &UpdateKeyGroupInputBuilder) -> bool
fn eq(&self, other: &UpdateKeyGroupInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateKeyGroupInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateKeyGroupInputBuilder
impl Send for UpdateKeyGroupInputBuilder
impl Sync for UpdateKeyGroupInputBuilder
impl Unpin for UpdateKeyGroupInputBuilder
impl UnwindSafe for UpdateKeyGroupInputBuilder
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.