@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) |
boolean |
equalsBySdkFields(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() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
Instant |
lastTriggered()
The date and time a webhook was last successfully triggered, in timestamp format.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListWebhookItem.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Specifies the tags applied to the webhook.
|
ListWebhookItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
url()
A unique URL generated by CodePipeline.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final WebhookDefinition definition()
The detail returned for each webhook, such as the webhook authentication type and filter rules.
public final 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.
public final String errorMessage()
The text of the error message about the webhook.
public final String errorCode()
The number code of the error.
public final Instant lastTriggered()
The date and time a webhook was last successfully triggered, in timestamp format.
public final String arn()
The Amazon Resource Name (ARN) of the webhook.
public final boolean hasTags()
public final List<Tag> tags()
Specifies the tags applied to the webhook.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public ListWebhookItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListWebhookItem.Builder,ListWebhookItem>public static ListWebhookItem.Builder builder()
public static Class<? extends ListWebhookItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.