Interface Flow.Builder

    • Method Detail

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

        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:
        #mediaStreams(java.util.Collection)
      • 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).

        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:
        #outputs(java.util.Collection)
      • 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.
      • 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.
      • 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).

        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:
        #sources(java.util.Collection)
      • 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, Status
      • 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:
        Status, Status
      • 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.
      • 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.