Interface Flow.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Flow.Builder,Flow>, SdkBuilder<Flow.Builder,Flow>, SdkPojo
Enclosing class:
Flow

@Mutable @NotThreadSafe public static interface Flow.Builder extends SdkPojo, CopyableBuilder<Flow.Builder,Flow>
  • Method Details

    • availabilityZone

      Flow.Builder availabilityZone(String availabilityZone)

      The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current Amazon Web Services Region.

      Parameters:
      availabilityZone - The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current Amazon Web Services Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Flow.Builder description(String description)

      A description of the flow. This value is not used or seen outside of the current MediaConnect account.

      Parameters:
      description - A description of the flow. This value is not used or seen outside of the current MediaConnect account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • egressIp

      Flow.Builder egressIp(String 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

      Flow.Builder entitlements(Collection<Entitlement> 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

      Flow.Builder entitlements(Entitlement... 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

      Flow.Builder entitlements(Consumer<Entitlement.Builder>... entitlements)

      The entitlements in this flow.

      This is a convenience method that creates an instance of the Entitlement.Builder avoiding the need to create one manually via Entitlement.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to entitlements(List<Entitlement>).

      Parameters:
      entitlements - a consumer that will call methods on Entitlement.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • flowArn

      Flow.Builder flowArn(String 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

      Flow.Builder mediaStreams(Collection<MediaStream> 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

      Flow.Builder mediaStreams(MediaStream... 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

      Flow.Builder mediaStreams(Consumer<MediaStream.Builder>... 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 the MediaStream.Builder avoiding the need to create one manually via MediaStream.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to mediaStreams(List<MediaStream>).

      Parameters:
      mediaStreams - a consumer that will call methods on MediaStream.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      Flow.Builder name(String 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

      Flow.Builder outputs(Collection<Output> 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

      Flow.Builder outputs(Output... 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

      Flow.Builder outputs(Consumer<Output.Builder>... outputs)

      The outputs in this flow.

      This is a convenience method that creates an instance of the Output.Builder avoiding the need to create one manually via Output.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputs(List<Output>).

      Parameters:
      outputs - a consumer that will call methods on Output.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • source

      Flow.Builder source(Source source)

      The source for the flow.

      Parameters:
      source - The source for the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      default Flow.Builder source(Consumer<Source.Builder> source)

      The source for the flow.

      This is a convenience method that creates an instance of the Source.Builder avoiding the need to create one manually via Source.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to source(Source).

      Parameters:
      source - a consumer that will call methods on Source.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceFailoverConfig

      Flow.Builder sourceFailoverConfig(FailoverConfig sourceFailoverConfig)

      The settings for the source failover.

      Parameters:
      sourceFailoverConfig - The settings for the source failover.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceFailoverConfig

      default Flow.Builder sourceFailoverConfig(Consumer<FailoverConfig.Builder> sourceFailoverConfig)

      The settings for the source failover.

      This is a convenience method that creates an instance of the FailoverConfig.Builder avoiding the need to create one manually via FailoverConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sourceFailoverConfig(FailoverConfig).

      Parameters:
      sourceFailoverConfig - a consumer that will call methods on FailoverConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sources

      Flow.Builder sources(Collection<Source> sources)

      The settings for the sources that are assigned to the flow.

      Parameters:
      sources - The settings for the sources that are assigned to the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sources

      Flow.Builder sources(Source... sources)

      The settings for the sources that are assigned to the flow.

      Parameters:
      sources - The settings for the sources that are assigned to the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sources

      Flow.Builder sources(Consumer<Source.Builder>... sources)

      The settings for the sources that are assigned to the flow.

      This is a convenience method that creates an instance of the Source.Builder avoiding the need to create one manually via Source.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sources(List<Source>).

      Parameters:
      sources - a consumer that will call methods on Source.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Flow.Builder status(String 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

      Flow.Builder status(Status 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

      Flow.Builder vpcInterfaces(Collection<VpcInterface> 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

      Flow.Builder vpcInterfaces(VpcInterface... 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

      Flow.Builder vpcInterfaces(Consumer<VpcInterface.Builder>... vpcInterfaces)

      The VPC Interfaces for this flow.

      This is a convenience method that creates an instance of the VpcInterface.Builder avoiding the need to create one manually via VpcInterface.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcInterfaces(List<VpcInterface>).

      Parameters:
      vpcInterfaces - a consumer that will call methods on VpcInterface.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maintenance

      Flow.Builder maintenance(Maintenance maintenance)

      The maintenance settings for the flow.

      Parameters:
      maintenance - The maintenance settings for the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maintenance

      default Flow.Builder maintenance(Consumer<Maintenance.Builder> maintenance)

      The maintenance settings for the flow.

      This is a convenience method that creates an instance of the Maintenance.Builder avoiding the need to create one manually via Maintenance.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to maintenance(Maintenance).

      Parameters:
      maintenance - a consumer that will call methods on Maintenance.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceMonitoringConfig

      Flow.Builder sourceMonitoringConfig(MonitoringConfig sourceMonitoringConfig)

      The settings for source monitoring.

      Parameters:
      sourceMonitoringConfig - The settings for source monitoring.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceMonitoringConfig

      default Flow.Builder sourceMonitoringConfig(Consumer<MonitoringConfig.Builder> sourceMonitoringConfig)

      The settings for source monitoring.

      This is a convenience method that creates an instance of the MonitoringConfig.Builder avoiding the need to create one manually via MonitoringConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sourceMonitoringConfig(MonitoringConfig).

      Parameters:
      sourceMonitoringConfig - a consumer that will call methods on MonitoringConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • flowSize

      Flow.Builder flowSize(String flowSize)

      Determines the processing capacity and feature set of the flow. Set this optional parameter to LARGE if you want to enable NDI outputs on the flow.

      Parameters:
      flowSize - Determines the processing capacity and feature set of the flow. Set this optional parameter to LARGE if you want to enable NDI outputs on the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • flowSize

      Flow.Builder flowSize(FlowSize flowSize)

      Determines the processing capacity and feature set of the flow. Set this optional parameter to LARGE if you want to enable NDI outputs on the flow.

      Parameters:
      flowSize - Determines the processing capacity and feature set of the flow. Set this optional parameter to LARGE if you want to enable NDI outputs on the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ndiConfig

      Flow.Builder ndiConfig(NdiConfig ndiConfig)

      Specifies the configuration settings for NDI outputs. Required when the flow includes NDI outputs.

      Parameters:
      ndiConfig - Specifies the configuration settings for NDI outputs. Required when the flow includes NDI outputs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ndiConfig

      default Flow.Builder ndiConfig(Consumer<NdiConfig.Builder> ndiConfig)

      Specifies the configuration settings for NDI outputs. Required when the flow includes NDI outputs.

      This is a convenience method that creates an instance of the NdiConfig.Builder avoiding the need to create one manually via NdiConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ndiConfig(NdiConfig).

      Parameters:
      ndiConfig - a consumer that will call methods on NdiConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: