Class StreamName.Builder (0.8.0)

public static class StreamName.Builder

Builder for projects/{project}/locations/{location}/clusters/{cluster}/streams/{stream}.

Inheritance

java.lang.Object > StreamName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public StreamName build()
Returns
Type Description
StreamName

getCluster()

public String getCluster()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getStream()

public String getStream()
Returns
Type Description
String

setCluster(String cluster)

public StreamName.Builder setCluster(String cluster)
Parameter
Name Description
cluster String
Returns
Type Description
StreamName.Builder

setLocation(String location)

public StreamName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
StreamName.Builder

setProject(String project)

public StreamName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
StreamName.Builder

setStream(String stream)

public StreamName.Builder setStream(String stream)
Parameter
Name Description
stream String
Returns
Type Description
StreamName.Builder