Struct aws_sdk_mediaconnect::types::builders::ListedFlowBuilder
source · #[non_exhaustive]pub struct ListedFlowBuilder { /* private fields */ }
Expand description
A builder for ListedFlow
.
Implementations§
source§impl ListedFlowBuilder
impl ListedFlowBuilder
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The Availability Zone that the flow was created in. This field is required.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The Availability Zone that the flow was created in.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The Availability Zone that the flow was created in.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the flow. This field is required.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the flow.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the flow.
sourcepub fn flow_arn(self, input: impl Into<String>) -> Self
pub fn flow_arn(self, input: impl Into<String>) -> Self
The ARN of the flow. This field is required.
sourcepub fn set_flow_arn(self, input: Option<String>) -> Self
pub fn set_flow_arn(self, input: Option<String>) -> Self
The ARN of the flow.
sourcepub fn get_flow_arn(&self) -> &Option<String>
pub fn get_flow_arn(&self) -> &Option<String>
The ARN of the flow.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the flow. This field is required.
sourcepub fn source_type(self, input: SourceType) -> Self
pub fn source_type(self, input: SourceType) -> Self
The type of source. This value is either owned (originated somewhere other than an AWS Elemental MediaConnect flow owned by another AWS account) or entitled (originated at an AWS Elemental MediaConnect flow owned by another AWS account). This field is required.
sourcepub fn set_source_type(self, input: Option<SourceType>) -> Self
pub fn set_source_type(self, input: Option<SourceType>) -> Self
The type of source. This value is either owned (originated somewhere other than an AWS Elemental MediaConnect flow owned by another AWS account) or entitled (originated at an AWS Elemental MediaConnect flow owned by another AWS account).
sourcepub fn get_source_type(&self) -> &Option<SourceType>
pub fn get_source_type(&self) -> &Option<SourceType>
The type of source. This value is either owned (originated somewhere other than an AWS Elemental MediaConnect flow owned by another AWS account) or entitled (originated at an AWS Elemental MediaConnect flow owned by another AWS account).
sourcepub fn status(self, input: Status) -> Self
pub fn status(self, input: Status) -> Self
The current status of the flow. This field is required.
sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
The current status of the flow.
sourcepub fn get_status(&self) -> &Option<Status>
pub fn get_status(&self) -> &Option<Status>
The current status of the flow.
sourcepub fn maintenance(self, input: Maintenance) -> Self
pub fn maintenance(self, input: Maintenance) -> Self
The maintenance setting of a flow
sourcepub fn set_maintenance(self, input: Option<Maintenance>) -> Self
pub fn set_maintenance(self, input: Option<Maintenance>) -> Self
The maintenance setting of a flow
sourcepub fn get_maintenance(&self) -> &Option<Maintenance>
pub fn get_maintenance(&self) -> &Option<Maintenance>
The maintenance setting of a flow
sourcepub fn build(self) -> ListedFlow
pub fn build(self) -> ListedFlow
Consumes the builder and constructs a ListedFlow
.
Trait Implementations§
source§impl Clone for ListedFlowBuilder
impl Clone for ListedFlowBuilder
source§fn clone(&self) -> ListedFlowBuilder
fn clone(&self) -> ListedFlowBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListedFlowBuilder
impl Debug for ListedFlowBuilder
source§impl Default for ListedFlowBuilder
impl Default for ListedFlowBuilder
source§fn default() -> ListedFlowBuilder
fn default() -> ListedFlowBuilder
source§impl PartialEq for ListedFlowBuilder
impl PartialEq for ListedFlowBuilder
source§fn eq(&self, other: &ListedFlowBuilder) -> bool
fn eq(&self, other: &ListedFlowBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListedFlowBuilder
Auto Trait Implementations§
impl Freeze for ListedFlowBuilder
impl RefUnwindSafe for ListedFlowBuilder
impl Send for ListedFlowBuilder
impl Sync for ListedFlowBuilder
impl Unpin for ListedFlowBuilder
impl UnwindSafe for ListedFlowBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more