#[non_exhaustive]pub struct CreateFlowInputBuilder { /* private fields */ }Expand description
A builder for CreateFlowInput.
Implementations§
source§impl CreateFlowInputBuilder
impl CreateFlowInputBuilder
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.
sourcepub fn entitlements(self, input: GrantEntitlementRequest) -> Self
pub fn entitlements(self, input: GrantEntitlementRequest) -> Self
Appends an item to entitlements.
To override the contents of this collection use set_entitlements.
The entitlements that you want to grant on a flow.
sourcepub fn set_entitlements(
self,
input: Option<Vec<GrantEntitlementRequest>>
) -> Self
pub fn set_entitlements( self, input: Option<Vec<GrantEntitlementRequest>> ) -> Self
The entitlements that you want to grant on a flow.
sourcepub fn get_entitlements(&self) -> &Option<Vec<GrantEntitlementRequest>>
pub fn get_entitlements(&self) -> &Option<Vec<GrantEntitlementRequest>>
The entitlements that you want to grant on a flow.
sourcepub fn media_streams(self, input: AddMediaStreamRequest) -> Self
pub fn media_streams(self, input: AddMediaStreamRequest) -> Self
Appends an item to media_streams.
To override the contents of this collection use set_media_streams.
The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on the flow.
sourcepub fn set_media_streams(
self,
input: Option<Vec<AddMediaStreamRequest>>
) -> Self
pub fn set_media_streams( self, input: Option<Vec<AddMediaStreamRequest>> ) -> Self
The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on the flow.
sourcepub fn get_media_streams(&self) -> &Option<Vec<AddMediaStreamRequest>>
pub fn get_media_streams(&self) -> &Option<Vec<AddMediaStreamRequest>>
The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on 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 outputs(self, input: AddOutputRequest) -> Self
pub fn outputs(self, input: AddOutputRequest) -> Self
Appends an item to outputs.
To override the contents of this collection use set_outputs.
The outputs that you want to add to this flow.
sourcepub fn set_outputs(self, input: Option<Vec<AddOutputRequest>>) -> Self
pub fn set_outputs(self, input: Option<Vec<AddOutputRequest>>) -> Self
The outputs that you want to add to this flow.
sourcepub fn get_outputs(&self) -> &Option<Vec<AddOutputRequest>>
pub fn get_outputs(&self) -> &Option<Vec<AddOutputRequest>>
The outputs that you want to add to this flow.
sourcepub fn source(self, input: SetSourceRequest) -> Self
pub fn source(self, input: SetSourceRequest) -> Self
The settings for the source of the flow.
sourcepub fn set_source(self, input: Option<SetSourceRequest>) -> Self
pub fn set_source(self, input: Option<SetSourceRequest>) -> Self
The settings for the source of the flow.
sourcepub fn get_source(&self) -> &Option<SetSourceRequest>
pub fn get_source(&self) -> &Option<SetSourceRequest>
The settings for the source of the flow.
sourcepub fn source_failover_config(self, input: FailoverConfig) -> Self
pub fn source_failover_config(self, input: FailoverConfig) -> Self
The settings for source failover.
sourcepub fn set_source_failover_config(self, input: Option<FailoverConfig>) -> Self
pub fn set_source_failover_config(self, input: Option<FailoverConfig>) -> Self
The settings for source failover.
sourcepub fn get_source_failover_config(&self) -> &Option<FailoverConfig>
pub fn get_source_failover_config(&self) -> &Option<FailoverConfig>
The settings for source failover.
sourcepub fn sources(self, input: SetSourceRequest) -> Self
pub fn sources(self, input: SetSourceRequest) -> Self
Appends an item to sources.
To override the contents of this collection use set_sources.
pub fn set_sources(self, input: Option<Vec<SetSourceRequest>>) -> Self
pub fn get_sources(&self) -> &Option<Vec<SetSourceRequest>>
sourcepub fn vpc_interfaces(self, input: VpcInterfaceRequest) -> Self
pub fn vpc_interfaces(self, input: VpcInterfaceRequest) -> Self
Appends an item to vpc_interfaces.
To override the contents of this collection use set_vpc_interfaces.
The VPC interfaces you want on the flow.
sourcepub fn set_vpc_interfaces(self, input: Option<Vec<VpcInterfaceRequest>>) -> Self
pub fn set_vpc_interfaces(self, input: Option<Vec<VpcInterfaceRequest>>) -> Self
The VPC interfaces you want on the flow.
sourcepub fn get_vpc_interfaces(&self) -> &Option<Vec<VpcInterfaceRequest>>
pub fn get_vpc_interfaces(&self) -> &Option<Vec<VpcInterfaceRequest>>
The VPC interfaces you want on the flow.
sourcepub fn maintenance(self, input: AddMaintenance) -> Self
pub fn maintenance(self, input: AddMaintenance) -> Self
Create maintenance setting for a flow
sourcepub fn set_maintenance(self, input: Option<AddMaintenance>) -> Self
pub fn set_maintenance(self, input: Option<AddMaintenance>) -> Self
Create maintenance setting for a flow
sourcepub fn get_maintenance(&self) -> &Option<AddMaintenance>
pub fn get_maintenance(&self) -> &Option<AddMaintenance>
Create maintenance setting for a flow
sourcepub fn build(self) -> Result<CreateFlowInput, BuildError>
pub fn build(self) -> Result<CreateFlowInput, BuildError>
Consumes the builder and constructs a CreateFlowInput.
source§impl CreateFlowInputBuilder
impl CreateFlowInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateFlowOutput, SdkError<CreateFlowError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateFlowOutput, SdkError<CreateFlowError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateFlowInputBuilder
impl Clone for CreateFlowInputBuilder
source§fn clone(&self) -> CreateFlowInputBuilder
fn clone(&self) -> CreateFlowInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateFlowInputBuilder
impl Debug for CreateFlowInputBuilder
source§impl Default for CreateFlowInputBuilder
impl Default for CreateFlowInputBuilder
source§fn default() -> CreateFlowInputBuilder
fn default() -> CreateFlowInputBuilder
source§impl PartialEq for CreateFlowInputBuilder
impl PartialEq for CreateFlowInputBuilder
source§fn eq(&self, other: &CreateFlowInputBuilder) -> bool
fn eq(&self, other: &CreateFlowInputBuilder) -> bool
self and other values to be equal, and is used
by ==.