Class StreamName.Builder (1.21.0)

public static class StreamName.Builder

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

Inheritance

java.lang.Object > StreamName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public StreamName build()
Returns
TypeDescription
StreamName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getStream()

public String getStream()
Returns
TypeDescription
String

setLocation(String location)

public StreamName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
StreamName.Builder

setProject(String project)

public StreamName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
StreamName.Builder

setStream(String stream)

public StreamName.Builder setStream(String stream)
Parameter
NameDescription
streamString
Returns
TypeDescription
StreamName.Builder