Constructor and Description |
---|
Stream.Builder() |
Modifier and Type | Method and Description |
---|---|
Stream |
build()
Create a new instance of
Stream . |
Stream.Builder |
setDeploymentProperties(java.util.Map<java.lang.String,java.lang.String> deploymentProperties)
Set the deployment properties for the stream.
|
Stream.Builder |
setModuleDescriptors(java.util.Deque<ModuleDescriptor> descriptors)
Set the module descriptors for this stream.
|
Stream.Builder |
setName(java.lang.String name)
Set the stream name.
|
public Stream.Builder setName(java.lang.String name)
name
- stream namepublic Stream.Builder setModuleDescriptors(java.util.Deque<ModuleDescriptor> descriptors)
descriptors
- list of module descriptors in stream
flow order (source is first, sink is last)public Stream.Builder setDeploymentProperties(java.util.Map<java.lang.String,java.lang.String> deploymentProperties)
deploymentProperties
- stream deployment properties