Package com.google.cloud.datastream.v1
Class StreamName.Builder
- java.lang.Object
-
- com.google.cloud.datastream.v1.StreamName.Builder
-
- Enclosing class:
- StreamName
public static class StreamName.Builder extends Object
Builder for projects/{project}/locations/{location}/streams/{stream}.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamName
build()
String
getLocation()
String
getProject()
String
getStream()
StreamName.Builder
setLocation(String location)
StreamName.Builder
setProject(String project)
StreamName.Builder
setStream(String stream)
-
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getStream
public String getStream()
-
setProject
public StreamName.Builder setProject(String project)
-
setLocation
public StreamName.Builder setLocation(String location)
-
setStream
public StreamName.Builder setStream(String stream)
-
build
public StreamName build()
-
-