pub struct Builder { /* private fields */ }
Expand description
A builder for ProposedSegmentChange
.
Implementations§
source§impl Builder
impl Builder
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The list of key-value tags that changed for the segment.
The list of key-value tags that changed for the segment.
sourcepub fn attachment_policy_rule_number(self, input: i32) -> Self
pub fn attachment_policy_rule_number(self, input: i32) -> Self
The rule number in the policy document that applies to this change.
sourcepub fn set_attachment_policy_rule_number(self, input: Option<i32>) -> Self
pub fn set_attachment_policy_rule_number(self, input: Option<i32>) -> Self
The rule number in the policy document that applies to this change.
sourcepub fn segment_name(self, input: impl Into<String>) -> Self
pub fn segment_name(self, input: impl Into<String>) -> Self
The name of the segment to change.
sourcepub fn set_segment_name(self, input: Option<String>) -> Self
pub fn set_segment_name(self, input: Option<String>) -> Self
The name of the segment to change.
sourcepub fn build(self) -> ProposedSegmentChange
pub fn build(self) -> ProposedSegmentChange
Consumes the builder and constructs a ProposedSegmentChange
.