@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()
For responses, this returns true if the service returned a value for the Tags property.
|
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()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
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 © 2023. All rights reserved.