@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWebhookItem extends Object implements Serializable, Cloneable, StructuredPojo
The detail returned for each webhook after listing webhooks, such as the webhook URL, the webhook name, and the webhook ARN.
Constructor and Description |
---|
ListWebhookItem() |
Modifier and Type | Method and Description |
---|---|
ListWebhookItem |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the webhook.
|
WebhookDefinition |
getDefinition()
The detail returned for each webhook, such as the webhook authentication type and filter rules.
|
String |
getErrorCode()
The number code of the error.
|
String |
getErrorMessage()
The text of the error message about the webhook.
|
Date |
getLastTriggered()
The date and time a webhook was last successfully triggered, in timestamp format.
|
List<Tag> |
getTags()
Specifies the tags applied to the webhook.
|
String |
getUrl()
A unique URL generated by CodePipeline.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the webhook.
|
void |
setDefinition(WebhookDefinition definition)
The detail returned for each webhook, such as the webhook authentication type and filter rules.
|
void |
setErrorCode(String errorCode)
The number code of the error.
|
void |
setErrorMessage(String errorMessage)
The text of the error message about the webhook.
|
void |
setLastTriggered(Date lastTriggered)
The date and time a webhook was last successfully triggered, in timestamp format.
|
void |
setTags(Collection<Tag> tags)
Specifies the tags applied to the webhook.
|
void |
setUrl(String url)
A unique URL generated by CodePipeline.
|
String |
toString()
Returns a string representation of this object.
|
ListWebhookItem |
withArn(String arn)
The Amazon Resource Name (ARN) of the webhook.
|
ListWebhookItem |
withDefinition(WebhookDefinition definition)
The detail returned for each webhook, such as the webhook authentication type and filter rules.
|
ListWebhookItem |
withErrorCode(String errorCode)
The number code of the error.
|
ListWebhookItem |
withErrorMessage(String errorMessage)
The text of the error message about the webhook.
|
ListWebhookItem |
withLastTriggered(Date lastTriggered)
The date and time a webhook was last successfully triggered, in timestamp format.
|
ListWebhookItem |
withTags(Collection<Tag> tags)
Specifies the tags applied to the webhook.
|
ListWebhookItem |
withTags(Tag... tags)
Specifies the tags applied to the webhook.
|
ListWebhookItem |
withUrl(String url)
A unique URL generated by CodePipeline.
|
public void setDefinition(WebhookDefinition definition)
The detail returned for each webhook, such as the webhook authentication type and filter rules.
definition
- The detail returned for each webhook, such as the webhook authentication type and filter rules.public WebhookDefinition getDefinition()
The detail returned for each webhook, such as the webhook authentication type and filter rules.
public ListWebhookItem withDefinition(WebhookDefinition definition)
The detail returned for each webhook, such as the webhook authentication type and filter rules.
definition
- The detail returned for each webhook, such as the webhook authentication type and filter rules.public void setUrl(String url)
A unique URL generated by CodePipeline. When a POST request is made to this URL, the defined pipeline is started as long as the body of the post request satisfies the defined authentication and filtering conditions. Deleting and re-creating a webhook makes the old URL invalid and generates a new one.
url
- A unique URL generated by CodePipeline. When a POST request is made to this URL, the defined pipeline is
started as long as the body of the post request satisfies the defined authentication and filtering
conditions. Deleting and re-creating a webhook makes the old URL invalid and generates a new one.public String getUrl()
A unique URL generated by CodePipeline. When a POST request is made to this URL, the defined pipeline is started as long as the body of the post request satisfies the defined authentication and filtering conditions. Deleting and re-creating a webhook makes the old URL invalid and generates a new one.
public ListWebhookItem withUrl(String url)
A unique URL generated by CodePipeline. When a POST request is made to this URL, the defined pipeline is started as long as the body of the post request satisfies the defined authentication and filtering conditions. Deleting and re-creating a webhook makes the old URL invalid and generates a new one.
url
- A unique URL generated by CodePipeline. When a POST request is made to this URL, the defined pipeline is
started as long as the body of the post request satisfies the defined authentication and filtering
conditions. Deleting and re-creating a webhook makes the old URL invalid and generates a new one.public void setErrorMessage(String errorMessage)
The text of the error message about the webhook.
errorMessage
- The text of the error message about the webhook.public String getErrorMessage()
The text of the error message about the webhook.
public ListWebhookItem withErrorMessage(String errorMessage)
The text of the error message about the webhook.
errorMessage
- The text of the error message about the webhook.public void setErrorCode(String errorCode)
The number code of the error.
errorCode
- The number code of the error.public String getErrorCode()
The number code of the error.
public ListWebhookItem withErrorCode(String errorCode)
The number code of the error.
errorCode
- The number code of the error.public void setLastTriggered(Date lastTriggered)
The date and time a webhook was last successfully triggered, in timestamp format.
lastTriggered
- The date and time a webhook was last successfully triggered, in timestamp format.public Date getLastTriggered()
The date and time a webhook was last successfully triggered, in timestamp format.
public ListWebhookItem withLastTriggered(Date lastTriggered)
The date and time a webhook was last successfully triggered, in timestamp format.
lastTriggered
- The date and time a webhook was last successfully triggered, in timestamp format.public void setArn(String arn)
The Amazon Resource Name (ARN) of the webhook.
arn
- The Amazon Resource Name (ARN) of the webhook.public String getArn()
The Amazon Resource Name (ARN) of the webhook.
public ListWebhookItem withArn(String arn)
The Amazon Resource Name (ARN) of the webhook.
arn
- The Amazon Resource Name (ARN) of the webhook.public List<Tag> getTags()
Specifies the tags applied to the webhook.
public void setTags(Collection<Tag> tags)
Specifies the tags applied to the webhook.
tags
- Specifies the tags applied to the webhook.public ListWebhookItem withTags(Tag... tags)
Specifies the tags applied to the webhook.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Specifies the tags applied to the webhook.public ListWebhookItem withTags(Collection<Tag> tags)
Specifies the tags applied to the webhook.
tags
- Specifies the tags applied to the webhook.public String toString()
toString
in class Object
Object.toString()
public ListWebhookItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.