Class ConsumerGroupName.Builder (0.4.0)

public static class ConsumerGroupName.Builder

Builder for projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group}.

Inheritance

java.lang.Object > ConsumerGroupName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ConsumerGroupName build()
Returns
Type Description
ConsumerGroupName

getCluster()

public String getCluster()
Returns
Type Description
String

getConsumerGroup()

public String getConsumerGroup()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setCluster(String cluster)

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

setConsumerGroup(String consumerGroup)

public ConsumerGroupName.Builder setConsumerGroup(String consumerGroup)
Parameter
Name Description
consumerGroup String
Returns
Type Description
ConsumerGroupName.Builder

setLocation(String location)

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

setProject(String project)

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