@Generated(value="software.amazon.awssdk:codegen") public final class ListWebhookItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListWebhookItem.Builder,ListWebhookItem>
The detail returned for each webhook after listing webhooks, such as the webhook URL, the webhook name, and the webhook ARN.
Modifier and Type | Class and Description |
---|---|
static interface |
ListWebhookItem.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the webhook.
|
static ListWebhookItem.Builder |
builder() |
WebhookDefinition |
definition()
The detail returned for each webhook, such as the webhook authentication type and filter rules.
|
boolean |
equals(Object obj) |
String |
errorCode()
The number code of the error.
|
String |
errorMessage()
The text of the error message about the webhook.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastTriggered()
The date and time a webhook was last successfully triggered, in timestamp format.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListWebhookItem.Builder> |
serializableBuilderClass() |
ListWebhookItem.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
url()
A unique URL generated by CodePipeline.
|
copy
public WebhookDefinition definition()
The detail returned for each webhook, such as the webhook authentication type and filter rules.
public 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.
public String errorMessage()
The text of the error message about the webhook.
public String errorCode()
The number code of the error.
public Instant lastTriggered()
The date and time a webhook was last successfully triggered, in timestamp format.
public String arn()
The Amazon Resource Name (ARN) of the webhook.
public ListWebhookItem.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListWebhookItem.Builder,ListWebhookItem>
public static ListWebhookItem.Builder builder()
public static Class<? extends ListWebhookItem.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.