@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.
|
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 |
setUrl(String url)
A unique URL generated by CodePipeline.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 |
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 will make the old URL invalid and generate a new URL.
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 will make the old URL invalid and generate a new URL.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 will make the old URL invalid and generate a new URL.
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 will make the old URL invalid and generate a new URL.
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 will make the old URL invalid and generate a new URL.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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.