org.springframework.cloud.dataflow.rest.client.dsl

## Class StreamBuilder

- java.lang.Object
- - org.springframework.cloud.dataflow.rest.client.dsl.StreamBuilder

-     public class StreamBuilder
      extends Object

  Represents the entry point into the Java DSL to set the name of the stream.
  Author:
    Vinicius Carvalho

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StreamBuilder(DataFlowOperations dataFlowOperations)` Construct a new StreamBuilder given a `DataFlowOperations` instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Stream.StreamNameBuilder` | `name(String name)` Fluent API method to set the name of the stream.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StreamBuilder

          public StreamBuilder(DataFlowOperations dataFlowOperations)

      Construct a new StreamBuilder given a `DataFlowOperations` instance.
      Parameters:
        `dataFlowOperations` - the dataflowOperations instance used to communicate to the Data Flow server

  - ### Method Detail

    - #### name

          public Stream.StreamNameBuilder name(String name)

      Fluent API method to set the name of the stream.
      Parameters:
        `name` - - The unique identifier of a Stream with the server
      Returns:
        A `Stream.StreamNameBuilder` that provides the next navigation step in the DSL.

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.