public class StreamDefinition extends Object
{ @code StreamDefinition streamBuilder = Stream.builder(dataFlowOperations).name("ticktock").definition("time | log") .create(); }
Constructor and Description |
---|
StreamDefinition(String name,
DataFlowOperations client,
String definition,
String description,
List<StreamApplication> applications) |
Modifier and Type | Method and Description |
---|---|
Stream |
deploy()
Deploy the current stream without any extra properties
|
Stream |
deploy(Map<String,String> deploymentProperties)
Deploy the current stream using the deploymentProperties.
|
void |
destroy()
Destroy the stream from the server.
|
public StreamDefinition(String name, DataFlowOperations client, String definition, String description, List<StreamApplication> applications)
public void destroy()
public Stream deploy(Map<String,String> deploymentProperties)
deploymentProperties
- Map of properties to be used during deploymentStream
Copyright © 2024 Pivotal Software, Inc.. All rights reserved.