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.Builder
webhook
(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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaWebhook.builder()
.When the
Consumer
completes,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:
-