@Generated(value="software.amazon.awssdk:codegen") public final class Webhook extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Webhook.Builder,Webhook>
Describes a webhook that connects repository events to an Amplify app.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Webhook.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
branchName()
The name for a branch that is part of an Amplify app.
|
static Webhook.Builder |
builder() |
Instant |
createTime()
The create date and time for a webhook.
|
String |
description()
The description for a webhook.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Webhook.Builder> |
serializableBuilderClass() |
Webhook.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updateTime()
Updates the date and time for a webhook.
|
String |
webhookArn()
The Amazon Resource Name (ARN) for the webhook.
|
String |
webhookId()
The ID of the webhook.
|
String |
webhookUrl()
The URL of the webhook.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String webhookArn()
The Amazon Resource Name (ARN) for the webhook.
public final String webhookId()
The ID of the webhook.
public final String webhookUrl()
The URL of the webhook.
public final String branchName()
The name for a branch that is part of an Amplify app.
public final String description()
The description for a webhook.
public final Instant createTime()
The create date and time for a webhook.
public final Instant updateTime()
Updates the date and time for a webhook.
public Webhook.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Webhook.Builder,Webhook>public static Webhook.Builder builder()
public static Class<? extends Webhook.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.