Interface Flow.Builder

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

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 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

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

      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)
      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

      default Flow.Builder source(Consumer<Source.Builder> source)
      Sets the value of the Source property for this object. 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)
      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

      default Flow.Builder sourceFailoverConfig(Consumer<FailoverConfig.Builder> sourceFailoverConfig)
      Sets the value of the SourceFailoverConfig property for this object. 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)
      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

      Flow.Builder sources(Source... 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

      Flow.Builder sources(Consumer<Source.Builder>... sources)
      Sets the value of the Sources property for this object. 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)
      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

      default Flow.Builder maintenance(Consumer<Maintenance.Builder> maintenance)
      Sets the value of the Maintenance property for this object. 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)
      Sets the value of the SourceMonitoringConfig property for this object.
      Parameters:
      sourceMonitoringConfig - The new value for the SourceMonitoringConfig property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceMonitoringConfig

      default Flow.Builder sourceMonitoringConfig(Consumer<MonitoringConfig.Builder> sourceMonitoringConfig)
      Sets the value of the SourceMonitoringConfig property for this object. 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: