Struct aws_sdk_cloudfront::types::builders::KeyGroupConfigBuilder
source · #[non_exhaustive]pub struct KeyGroupConfigBuilder { /* private fields */ }
Expand description
A builder for KeyGroupConfig
.
Implementations§
source§impl KeyGroupConfigBuilder
impl KeyGroupConfigBuilder
sourcepub fn items(self, input: impl Into<String>) -> Self
pub fn items(self, input: impl Into<String>) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
A list of the identifiers of the public keys in the key group.
sourcepub fn set_items(self, input: Option<Vec<String>>) -> Self
pub fn set_items(self, input: Option<Vec<String>>) -> Self
A list of the identifiers of the public keys in the key group.
sourcepub fn comment(self, input: impl Into<String>) -> Self
pub fn comment(self, input: impl Into<String>) -> Self
A comment to describe the key group. The comment cannot be longer than 128 characters.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
A comment to describe the key group. The comment cannot be longer than 128 characters.
sourcepub fn build(self) -> KeyGroupConfig
pub fn build(self) -> KeyGroupConfig
Consumes the builder and constructs a KeyGroupConfig
.
Trait Implementations§
source§impl Clone for KeyGroupConfigBuilder
impl Clone for KeyGroupConfigBuilder
source§fn clone(&self) -> KeyGroupConfigBuilder
fn clone(&self) -> KeyGroupConfigBuilder
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 KeyGroupConfigBuilder
impl Debug for KeyGroupConfigBuilder
source§impl Default for KeyGroupConfigBuilder
impl Default for KeyGroupConfigBuilder
source§fn default() -> KeyGroupConfigBuilder
fn default() -> KeyGroupConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<KeyGroupConfigBuilder> for KeyGroupConfigBuilder
impl PartialEq<KeyGroupConfigBuilder> for KeyGroupConfigBuilder
source§fn eq(&self, other: &KeyGroupConfigBuilder) -> bool
fn eq(&self, other: &KeyGroupConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.