Class Stream.StreamNameBuilder
java.lang.Object
org.springframework.cloud.dataflow.rest.client.dsl.Stream.StreamNameBuilder
- Enclosing class:
- Stream
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addApplication
(StreamApplication application) protected StreamDefinition
create()
Creates the Stream.definition
(String definition) Creates a Stream bypassing the fluent API and just using the provided definitiondescription
(String description) Sets the description of the stream.source
(StreamApplication source) Appends aStreamApplication
as a source for this stream
-
Method Details
-
source
Appends aStreamApplication
as a source for this stream- Parameters:
source
- - TheStreamApplication
being added- Returns:
- a
Stream.SourceBuilder
to continue the building of the Stream
-
definition
Creates a Stream bypassing the fluent API and just using the provided definition- Parameters:
definition
- the Stream definition to use- Returns:
- A
Stream
object
-
description
Sets the description of the stream.- Parameters:
description
- the description text- Returns:
- A
Stream.StreamDescriptionBuilder
object
-
create
Creates the Stream. This method will invoke the remote server and create a stream- Returns:
- StreamDefinition to allow deploying operations on the created Stream
-
addApplication
-