Class Stream.StreamDescriptionBuilder
java.lang.Object
org.springframework.cloud.dataflow.rest.client.dsl.Stream.StreamDescriptionBuilder
- Enclosing class:
- Stream
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddApplication(StreamApplication application) protected StreamDefinitioncreate()Creates the Stream.definition(String definiton) Creates a Stream bypassing the fluent API and just using the provided definitionsource(StreamApplication source) Appends aStreamApplicationas a source for this stream
-
Method Details
-
source
Appends aStreamApplicationas a source for this stream- Parameters:
source- - TheStreamApplicationbeing added- Returns:
- a
Stream.SourceBuilderto continue the building of the Stream
-
definition
Creates a Stream bypassing the fluent API and just using the provided definition- Parameters:
definiton- the Stream definition to use- Returns:
- A
Streamobject
-
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
-