Struct aws_sdk_cloudfront::input::create_key_group_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateKeyGroupInput
.
Implementations§
source§impl Builder
impl Builder
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
.