Interface Flow.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Flow.Builder,
,Flow> SdkBuilder<Flow.Builder,
,Flow> SdkPojo
- Enclosing class:
Flow
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone that you want to create the flow in.description
(String description) A description of the flow.The IP address from which video will be sent to output destinations.entitlements
(Collection<Entitlement> entitlements) The entitlements in this flow.entitlements
(Consumer<Entitlement.Builder>... entitlements) The entitlements in this flow.entitlements
(Entitlement... entitlements) The entitlements in this flow.The Amazon Resource Name (ARN) of the flow.default Flow.Builder
maintenance
(Consumer<Maintenance.Builder> maintenance) Sets the value of the Maintenance property for this object.maintenance
(Maintenance maintenance) Sets the value of the Maintenance property for this object.mediaStreams
(Collection<MediaStream> mediaStreams) The media streams that are associated with the flow.mediaStreams
(Consumer<MediaStream.Builder>... mediaStreams) The media streams that are associated with the flow.mediaStreams
(MediaStream... mediaStreams) The media streams that are associated with the flow.The name of the flow.outputs
(Collection<Output> outputs) The outputs in this flow.outputs
(Consumer<Output.Builder>... outputs) The outputs in this flow.The outputs in this flow.default Flow.Builder
source
(Consumer<Source.Builder> source) Sets the value of the Source property for this object.Sets the value of the Source property for this object.default Flow.Builder
sourceFailoverConfig
(Consumer<FailoverConfig.Builder> sourceFailoverConfig) Sets the value of the SourceFailoverConfig property for this object.sourceFailoverConfig
(FailoverConfig sourceFailoverConfig) Sets the value of the SourceFailoverConfig property for this object.sources
(Collection<Source> sources) Sets the value of the Sources property for this object.sources
(Consumer<Source.Builder>... sources) Sets the value of the Sources property for this object.Sets the value of the Sources property for this object.The current status of the flow.The current status of the flow.vpcInterfaces
(Collection<VpcInterface> vpcInterfaces) The VPC Interfaces for this flow.vpcInterfaces
(Consumer<VpcInterface.Builder>... vpcInterfaces) The VPC Interfaces for this flow.vpcInterfaces
(VpcInterface... vpcInterfaces) The VPC Interfaces for this flow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
availabilityZone
The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS.- Parameters:
availabilityZone
- The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the flow. This value is not used or seen outside of the current AWS Elemental MediaConnect account.- Parameters:
description
- A description of the flow. This value is not used or seen outside of the current AWS Elemental MediaConnect account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressIp
The IP address from which video will be sent to output destinations.- Parameters:
egressIp
- The IP address from which video will be sent to output destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
The entitlements in this flow.- Parameters:
entitlements
- The entitlements in this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
The entitlements in this flow.- Parameters:
entitlements
- The entitlements in this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
The entitlements in this flow. This is a convenience method that creates an instance of theEntitlement.Builder
avoiding the need to create one manually viaEntitlement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentitlements(List<Entitlement>)
.- Parameters:
entitlements
- a consumer that will call methods onEntitlement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
flowArn
The Amazon Resource Name (ARN) of the flow.- Parameters:
flowArn
- The Amazon Resource Name (ARN) of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreams
The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.- Parameters:
mediaStreams
- The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreams
The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.- Parameters:
mediaStreams
- The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreams
The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow. This is a convenience method that creates an instance of theMediaStream.Builder
avoiding the need to create one manually viaMediaStream.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomediaStreams(List<MediaStream>)
.- Parameters:
mediaStreams
- a consumer that will call methods onMediaStream.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the flow.- Parameters:
name
- The name of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs in this flow.- Parameters:
outputs
- The outputs in this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs in this flow.- Parameters:
outputs
- The outputs in this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs in this flow. This is a convenience method that creates an instance of theOutput.Builder
avoiding the need to create one manually viaOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputs(List<Output>)
.- Parameters:
outputs
- a consumer that will call methods onOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
Sets the value of the Source property for this object.- Parameters:
source
- The new value for the Source property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Sets the value of the Source property for this object. This is a convenience method that creates an instance of theSource.Builder
avoiding the need to create one manually viaSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(Source)
.- Parameters:
source
- a consumer that will call methods onSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceFailoverConfig
Sets the value of the SourceFailoverConfig property for this object.- Parameters:
sourceFailoverConfig
- The new value for the SourceFailoverConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceFailoverConfig
Sets the value of the SourceFailoverConfig property for this object. This is a convenience method that creates an instance of theFailoverConfig.Builder
avoiding the need to create one manually viaFailoverConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceFailoverConfig(FailoverConfig)
.- Parameters:
sourceFailoverConfig
- a consumer that will call methods onFailoverConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sources
Sets the value of the Sources property for this object.- Parameters:
sources
- The new value for the Sources property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
Sets the value of the Sources property for this object.- Parameters:
sources
- The new value for the Sources property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
Sets the value of the Sources property for this object. This is a convenience method that creates an instance of theSource.Builder
avoiding the need to create one manually viaSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<Source>)
.- Parameters:
sources
- a consumer that will call methods onSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the flow.- Parameters:
status
- The current status of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the flow.- Parameters:
status
- The current status of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcInterfaces
The VPC Interfaces for this flow.- Parameters:
vpcInterfaces
- The VPC Interfaces for this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcInterfaces
The VPC Interfaces for this flow.- Parameters:
vpcInterfaces
- The VPC Interfaces for this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcInterfaces
The VPC Interfaces for this flow. This is a convenience method that creates an instance of theVpcInterface.Builder
avoiding the need to create one manually viaVpcInterface.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcInterfaces(List<VpcInterface>)
.- Parameters:
vpcInterfaces
- a consumer that will call methods onVpcInterface.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maintenance
Sets the value of the Maintenance property for this object.- Parameters:
maintenance
- The new value for the Maintenance property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenance
Sets the value of the Maintenance property for this object. This is a convenience method that creates an instance of theMaintenance.Builder
avoiding the need to create one manually viaMaintenance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaintenance(Maintenance)
.- Parameters:
maintenance
- a consumer that will call methods onMaintenance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-