Class WebhookName.Builder (0.52.0)

public static class WebhookName.Builder

Builder for projects/{project}/locations/{location}/agents/{agent}/webhooks/{webhook}.

Inheritance

java.lang.Object > WebhookName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public WebhookName build()
Returns
TypeDescription
WebhookName

getAgent()

public String getAgent()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getWebhook()

public String getWebhook()
Returns
TypeDescription
String

setAgent(String agent)

public WebhookName.Builder setAgent(String agent)
Parameter
NameDescription
agentString
Returns
TypeDescription
WebhookName.Builder

setLocation(String location)

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

setProject(String project)

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

setWebhook(String webhook)

public WebhookName.Builder setWebhook(String webhook)
Parameter
NameDescription
webhookString
Returns
TypeDescription
WebhookName.Builder