Class Webhook
- java.lang.Object
-
- software.amazon.awssdk.services.amplify.model.Webhook
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Webhook.Builder,Webhook>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWebhook.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbranchName()The name for a branch that is part of an Amplify app.static Webhook.Builderbuilder()InstantcreateTime()The create date and time for a webhook.Stringdescription()The description for a webhook.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Webhook.Builder>serializableBuilderClass()Webhook.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdateTime()Updates the date and time for a webhook.StringwebhookArn()The Amazon Resource Name (ARN) for the webhook.StringwebhookId()The ID of the webhook.StringwebhookUrl()The URL of the webhook.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
webhookArn
public final String webhookArn()
The Amazon Resource Name (ARN) for the webhook.
- Returns:
- The Amazon Resource Name (ARN) for the webhook.
-
webhookId
public final String webhookId()
The ID of the webhook.
- Returns:
- The ID of the webhook.
-
webhookUrl
public final String webhookUrl()
The URL of the webhook.
- Returns:
- The URL of the webhook.
-
branchName
public final String branchName()
The name for a branch that is part of an Amplify app.
- Returns:
- The name for a branch that is part of an Amplify app.
-
description
public final String description()
The description for a webhook.
- Returns:
- The description for a webhook.
-
createTime
public final Instant createTime()
The create date and time for a webhook.
- Returns:
- The create date and time for a webhook.
-
updateTime
public final Instant updateTime()
Updates the date and time for a webhook.
- Returns:
- Updates the date and time for a webhook.
-
toBuilder
public Webhook.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Webhook.Builder,Webhook>
-
builder
public static Webhook.Builder builder()
-
serializableBuilderClass
public static Class<? extends Webhook.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-