@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Webhook extends Object implements Serializable, Cloneable, StructuredPojo
Structure for webhook, which associates a webhook with an Amplify App.
Constructor and Description |
---|
Webhook() |
Modifier and Type | Method and Description |
---|---|
Webhook |
clone() |
boolean |
equals(Object obj) |
String |
getBranchName()
Name for a branch, part of an Amplify App.
|
Date |
getCreateTime()
Create date / time for a webhook.
|
String |
getDescription()
Description for a webhook.
|
Date |
getUpdateTime()
Update date / time for a webhook.
|
String |
getWebhookArn()
ARN for the webhook.
|
String |
getWebhookId()
Id of the webhook.
|
String |
getWebhookUrl()
Url of the webhook.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBranchName(String branchName)
Name for a branch, part of an Amplify App.
|
void |
setCreateTime(Date createTime)
Create date / time for a webhook.
|
void |
setDescription(String description)
Description for a webhook.
|
void |
setUpdateTime(Date updateTime)
Update date / time for a webhook.
|
void |
setWebhookArn(String webhookArn)
ARN for the webhook.
|
void |
setWebhookId(String webhookId)
Id of the webhook.
|
void |
setWebhookUrl(String webhookUrl)
Url of the webhook.
|
String |
toString()
Returns a string representation of this object.
|
Webhook |
withBranchName(String branchName)
Name for a branch, part of an Amplify App.
|
Webhook |
withCreateTime(Date createTime)
Create date / time for a webhook.
|
Webhook |
withDescription(String description)
Description for a webhook.
|
Webhook |
withUpdateTime(Date updateTime)
Update date / time for a webhook.
|
Webhook |
withWebhookArn(String webhookArn)
ARN for the webhook.
|
Webhook |
withWebhookId(String webhookId)
Id of the webhook.
|
Webhook |
withWebhookUrl(String webhookUrl)
Url of the webhook.
|
public void setWebhookArn(String webhookArn)
ARN for the webhook.
webhookArn
- ARN for the webhook.public String getWebhookArn()
ARN for the webhook.
public Webhook withWebhookArn(String webhookArn)
ARN for the webhook.
webhookArn
- ARN for the webhook.public void setWebhookId(String webhookId)
Id of the webhook.
webhookId
- Id of the webhook.public String getWebhookId()
Id of the webhook.
public Webhook withWebhookId(String webhookId)
Id of the webhook.
webhookId
- Id of the webhook.public void setWebhookUrl(String webhookUrl)
Url of the webhook.
webhookUrl
- Url of the webhook.public String getWebhookUrl()
Url of the webhook.
public Webhook withWebhookUrl(String webhookUrl)
Url of the webhook.
webhookUrl
- Url of the webhook.public void setBranchName(String branchName)
Name for a branch, part of an Amplify App.
branchName
- Name for a branch, part of an Amplify App.public String getBranchName()
Name for a branch, part of an Amplify App.
public Webhook withBranchName(String branchName)
Name for a branch, part of an Amplify App.
branchName
- Name for a branch, part of an Amplify App.public void setDescription(String description)
Description for a webhook.
description
- Description for a webhook.public String getDescription()
Description for a webhook.
public Webhook withDescription(String description)
Description for a webhook.
description
- Description for a webhook.public void setCreateTime(Date createTime)
Create date / time for a webhook.
createTime
- Create date / time for a webhook.public Date getCreateTime()
Create date / time for a webhook.
public Webhook withCreateTime(Date createTime)
Create date / time for a webhook.
createTime
- Create date / time for a webhook.public void setUpdateTime(Date updateTime)
Update date / time for a webhook.
updateTime
- Update date / time for a webhook.public Date getUpdateTime()
Update date / time for a webhook.
public Webhook withUpdateTime(Date updateTime)
Update date / time for a webhook.
updateTime
- Update date / 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.