@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Webhook extends Object implements Serializable, Cloneable, StructuredPojo
Describes a webhook that connects repository events to an Amplify app.
Constructor and Description |
---|
Webhook() |
Modifier and Type | Method and Description |
---|---|
Webhook |
clone() |
boolean |
equals(Object obj) |
String |
getBranchName()
The name for a branch that is part of an Amplify app.
|
Date |
getCreateTime()
The create date and time for a webhook.
|
String |
getDescription()
The description for a webhook.
|
Date |
getUpdateTime()
Updates the date and time for a webhook.
|
String |
getWebhookArn()
The Amazon Resource Name (ARN) for the webhook.
|
String |
getWebhookId()
The ID of the webhook.
|
String |
getWebhookUrl()
The URL of the webhook.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBranchName(String branchName)
The name for a branch that is part of an Amplify app.
|
void |
setCreateTime(Date createTime)
The create date and time for a webhook.
|
void |
setDescription(String description)
The description for a webhook.
|
void |
setUpdateTime(Date updateTime)
Updates the date and time for a webhook.
|
void |
setWebhookArn(String webhookArn)
The Amazon Resource Name (ARN) for the webhook.
|
void |
setWebhookId(String webhookId)
The ID of the webhook.
|
void |
setWebhookUrl(String webhookUrl)
The URL of the webhook.
|
String |
toString()
Returns a string representation of this object.
|
Webhook |
withBranchName(String branchName)
The name for a branch that is part of an Amplify app.
|
Webhook |
withCreateTime(Date createTime)
The create date and time for a webhook.
|
Webhook |
withDescription(String description)
The description for a webhook.
|
Webhook |
withUpdateTime(Date updateTime)
Updates the date and time for a webhook.
|
Webhook |
withWebhookArn(String webhookArn)
The Amazon Resource Name (ARN) for the webhook.
|
Webhook |
withWebhookId(String webhookId)
The ID of the webhook.
|
Webhook |
withWebhookUrl(String webhookUrl)
The URL of the webhook.
|
public void setWebhookArn(String webhookArn)
The Amazon Resource Name (ARN) for the webhook.
webhookArn
- The Amazon Resource Name (ARN) for the webhook.public String getWebhookArn()
The Amazon Resource Name (ARN) for the webhook.
public Webhook withWebhookArn(String webhookArn)
The Amazon Resource Name (ARN) for the webhook.
webhookArn
- The Amazon Resource Name (ARN) for the webhook.public void setWebhookId(String webhookId)
The ID of the webhook.
webhookId
- The ID of the webhook.public String getWebhookId()
The ID of the webhook.
public Webhook withWebhookId(String webhookId)
The ID of the webhook.
webhookId
- The ID of the webhook.public void setWebhookUrl(String webhookUrl)
The URL of the webhook.
webhookUrl
- The URL of the webhook.public String getWebhookUrl()
The URL of the webhook.
public Webhook withWebhookUrl(String webhookUrl)
The URL of the webhook.
webhookUrl
- The URL of the webhook.public void setBranchName(String branchName)
The name for a branch that is part of an Amplify app.
branchName
- The name for a branch that is part of an Amplify app.public String getBranchName()
The name for a branch that is part of an Amplify app.
public Webhook withBranchName(String branchName)
The name for a branch that is part of an Amplify app.
branchName
- The name for a branch that is part of an Amplify app.public void setDescription(String description)
The description for a webhook.
description
- The description for a webhook.public String getDescription()
The description for a webhook.
public Webhook withDescription(String description)
The description for a webhook.
description
- The description for a webhook.public void setCreateTime(Date createTime)
The create date and time for a webhook.
createTime
- The create date and time for a webhook.public Date getCreateTime()
The create date and time for a webhook.
public Webhook withCreateTime(Date createTime)
The create date and time for a webhook.
createTime
- The create date and time for a webhook.public void setUpdateTime(Date updateTime)
Updates the date and time for a webhook.
updateTime
- Updates the date and time for a webhook.public Date getUpdateTime()
Updates the date and time for a webhook.
public Webhook withUpdateTime(Date updateTime)
Updates the date and time for a webhook.
updateTime
- Updates the date and time for a webhook.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.