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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetWebhookResponse.Builderwebhook(Consumer<Webhook.Builder> webhook)Describes the structure of a webhook.GetWebhookResponse.Builderwebhook(Webhook 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 Detail
-
webhook
GetWebhookResponse.Builder webhook(Webhook 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
default GetWebhookResponse.Builder webhook(Consumer<Webhook.Builder> 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:
webhook(Webhook)
-
-