Class Stream.StreamNameBuilder
java.lang.Object
org.springframework.cloud.dataflow.rest.client.dsl.Stream.StreamNameBuilder
- Enclosing class:
- Stream
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddApplication(StreamApplication application) protected StreamDefinitioncreate()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 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:
definition- the Stream definition to use- Returns:
- A
Streamobject
-
description
Sets the description of the stream.- Parameters:
description- the description text- Returns:
- A
Stream.StreamDescriptionBuilderobject
-
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
-