Class TopicName.Builder (0.5.0)

public static class TopicName.Builder

Builder for projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}.

Inheritance

java.lang.Object > TopicName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public TopicName build()
Returns
Type Description
TopicName

getCluster()

public String getCluster()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getTopic()

public String getTopic()
Returns
Type Description
String

setCluster(String cluster)

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

setLocation(String location)

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

setProject(String project)

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

setTopic(String topic)

public TopicName.Builder setTopic(String topic)
Parameter
Name Description
topic String
Returns
Type Description
TopicName.Builder