public static class CreateWebhook.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
metadata |
protected String |
name |
Constructor and Description |
---|
CreateWebhook.Builder() |
Modifier and Type | Method and Description |
---|---|
CreateWebhook |
build() |
CreateWebhook.Builder |
fromWebhook(CreateWebhook in) |
CreateWebhook.Builder |
metadata(Map<String,Object> metadata) |
CreateWebhook.Builder |
name(String name) |
public CreateWebhook.Builder name(String name)
name
- The name of this Webhook.CreateWebhook.getName()
public CreateWebhook.Builder metadata(Map<String,Object> metadata)
metadata
- The metadata of this Webhook.CreateWebhook.getMetadata()
public CreateWebhook build()
public CreateWebhook.Builder fromWebhook(CreateWebhook in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.