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.
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 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.
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 build(self) -> Result<UpdateKeyGroupInput, BuildError>
pub fn build(self) -> Result<UpdateKeyGroupInput, BuildError>
Consumes the builder and constructs a UpdateKeyGroupInput
.
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<UpdateKeyGroupInputBuilder> for UpdateKeyGroupInputBuilder
impl PartialEq<UpdateKeyGroupInputBuilder> 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 ==
.