Modifier and Type | Method and Description |
---|---|
protected void |
addApplication(StreamApplication application) |
protected StreamDefinition |
create()
Creates the Stream.
|
Stream.StreamDefinitionBuilder |
definition(String definition)
Creates a Stream bypassing the fluent API and just using the provided
definition
|
Stream.StreamDescriptionBuilder |
description(String description)
Sets the description of the stream.
|
Stream.SourceBuilder |
source(StreamApplication source)
Appends a
StreamApplication as a source for this stream |
public Stream.SourceBuilder source(StreamApplication source)
StreamApplication
as a source for this streamsource
- - The StreamApplication
being addedStream.SourceBuilder
to continue the building of the Streampublic Stream.StreamDefinitionBuilder definition(String definition)
definition
- the Stream definition to useStream
objectpublic Stream.StreamDescriptionBuilder description(String description)
description
- the description textStream.StreamDescriptionBuilder
objectprotected StreamDefinition create()
protected void addApplication(StreamApplication application)
Copyright © 2024 Pivotal Software, Inc.. All rights reserved.