#[non_exhaustive]pub struct CreateSegmentOutputBuilder { /* private fields */ }Expand description
A builder for CreateSegmentOutput.
Implementations§
source§impl CreateSegmentOutputBuilder
impl CreateSegmentOutputBuilder
sourcepub fn segment(self, input: Segment) -> Self
pub fn segment(self, input: Segment) -> Self
A structure that contains the complete information about the segment that was just created.
sourcepub fn set_segment(self, input: Option<Segment>) -> Self
pub fn set_segment(self, input: Option<Segment>) -> Self
A structure that contains the complete information about the segment that was just created.
sourcepub fn build(self) -> CreateSegmentOutput
pub fn build(self) -> CreateSegmentOutput
Consumes the builder and constructs a CreateSegmentOutput.
Trait Implementations§
source§impl Clone for CreateSegmentOutputBuilder
impl Clone for CreateSegmentOutputBuilder
source§fn clone(&self) -> CreateSegmentOutputBuilder
fn clone(&self) -> CreateSegmentOutputBuilder
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 CreateSegmentOutputBuilder
impl Debug for CreateSegmentOutputBuilder
source§impl Default for CreateSegmentOutputBuilder
impl Default for CreateSegmentOutputBuilder
source§fn default() -> CreateSegmentOutputBuilder
fn default() -> CreateSegmentOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateSegmentOutputBuilder> for CreateSegmentOutputBuilder
impl PartialEq<CreateSegmentOutputBuilder> for CreateSegmentOutputBuilder
source§fn eq(&self, other: &CreateSegmentOutputBuilder) -> bool
fn eq(&self, other: &CreateSegmentOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.