#[non_exhaustive]pub struct CreateSegmentInputBuilder { /* private fields */ }
Expand description
A builder for CreateSegmentInput
.
Implementations§
source§impl CreateSegmentInputBuilder
impl CreateSegmentInputBuilder
sourcepub fn pattern(self, input: impl Into<String>) -> Self
pub fn pattern(self, input: impl Into<String>) -> Self
The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax.
sourcepub fn set_pattern(self, input: Option<String>) -> Self
pub fn set_pattern(self, input: Option<String>) -> Self
The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
An optional description for this segment.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
An optional description for this segment.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Assigns one or more tags (key-value pairs) to the segment.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a segment.
For more information, see Tagging Amazon Web Services resources.
Assigns one or more tags (key-value pairs) to the segment.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a segment.
For more information, see Tagging Amazon Web Services resources.
sourcepub fn build(self) -> Result<CreateSegmentInput, BuildError>
pub fn build(self) -> Result<CreateSegmentInput, BuildError>
Consumes the builder and constructs a CreateSegmentInput
.
Trait Implementations§
source§impl Clone for CreateSegmentInputBuilder
impl Clone for CreateSegmentInputBuilder
source§fn clone(&self) -> CreateSegmentInputBuilder
fn clone(&self) -> CreateSegmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSegmentInputBuilder
impl Debug for CreateSegmentInputBuilder
source§impl Default for CreateSegmentInputBuilder
impl Default for CreateSegmentInputBuilder
source§fn default() -> CreateSegmentInputBuilder
fn default() -> CreateSegmentInputBuilder
source§impl PartialEq<CreateSegmentInputBuilder> for CreateSegmentInputBuilder
impl PartialEq<CreateSegmentInputBuilder> for CreateSegmentInputBuilder
source§fn eq(&self, other: &CreateSegmentInputBuilder) -> bool
fn eq(&self, other: &CreateSegmentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.