#[non_exhaustive]pub struct ProposedSegmentChangeBuilder { /* private fields */ }
Expand description
A builder for ProposedSegmentChange
.
Implementations§
source§impl ProposedSegmentChangeBuilder
impl ProposedSegmentChangeBuilder
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.
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 get_attachment_policy_rule_number(&self) -> &Option<i32>
pub fn get_attachment_policy_rule_number(&self) -> &Option<i32>
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 get_segment_name(&self) -> &Option<String>
pub fn get_segment_name(&self) -> &Option<String>
The name of the segment to change.
sourcepub fn build(self) -> ProposedSegmentChange
pub fn build(self) -> ProposedSegmentChange
Consumes the builder and constructs a ProposedSegmentChange
.
Trait Implementations§
source§impl Clone for ProposedSegmentChangeBuilder
impl Clone for ProposedSegmentChangeBuilder
source§fn clone(&self) -> ProposedSegmentChangeBuilder
fn clone(&self) -> ProposedSegmentChangeBuilder
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 ProposedSegmentChangeBuilder
impl Debug for ProposedSegmentChangeBuilder
source§impl Default for ProposedSegmentChangeBuilder
impl Default for ProposedSegmentChangeBuilder
source§fn default() -> ProposedSegmentChangeBuilder
fn default() -> ProposedSegmentChangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ProposedSegmentChangeBuilder
impl PartialEq for ProposedSegmentChangeBuilder
source§fn eq(&self, other: &ProposedSegmentChangeBuilder) -> bool
fn eq(&self, other: &ProposedSegmentChangeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProposedSegmentChangeBuilder
Auto Trait Implementations§
impl Freeze for ProposedSegmentChangeBuilder
impl RefUnwindSafe for ProposedSegmentChangeBuilder
impl Send for ProposedSegmentChangeBuilder
impl Sync for ProposedSegmentChangeBuilder
impl Unpin for ProposedSegmentChangeBuilder
impl UnwindSafe for ProposedSegmentChangeBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.