Interface GetWebhookResponse.Builder
- All Superinterfaces:
AmplifyResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetWebhookResponse.Builder,,GetWebhookResponse> SdkBuilder<GetWebhookResponse.Builder,,GetWebhookResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetWebhookResponse
public static interface GetWebhookResponse.Builder
extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<GetWebhookResponse.Builder,GetWebhookResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetWebhookResponse.Builderwebhook(Consumer<Webhook.Builder> webhook) Describes the structure of a webhook.Describes the structure of a webhook.Methods inherited from interface software.amazon.awssdk.services.amplify.model.AmplifyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
webhook
Describes the structure of a webhook.
- Parameters:
webhook- Describes the structure of a webhook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webhook
Describes the structure of a webhook.
This is a convenience method that creates an instance of theWebhook.Builderavoiding the need to create one manually viaWebhook.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebhook(Webhook).- Parameters:
webhook- a consumer that will call methods onWebhook.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-