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