Interface CreateChimeWebhookConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChatbotResponse.Builder
,CopyableBuilder<CreateChimeWebhookConfigurationResponse.Builder,
,CreateChimeWebhookConfigurationResponse> SdkBuilder<CreateChimeWebhookConfigurationResponse.Builder,
,CreateChimeWebhookConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateChimeWebhookConfigurationResponse
@Mutable
@NotThreadSafe
public static interface CreateChimeWebhookConfigurationResponse.Builder
extends ChatbotResponse.Builder, SdkPojo, CopyableBuilder<CreateChimeWebhookConfigurationResponse.Builder,CreateChimeWebhookConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionwebhookConfiguration
(Consumer<ChimeWebhookConfiguration.Builder> webhookConfiguration) An Amazon Chime webhook configuration.webhookConfiguration
(ChimeWebhookConfiguration webhookConfiguration) An Amazon Chime webhook configuration.Methods inherited from interface software.amazon.awssdk.services.chatbot.model.ChatbotResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
webhookConfiguration
CreateChimeWebhookConfigurationResponse.Builder webhookConfiguration(ChimeWebhookConfiguration webhookConfiguration) An Amazon Chime webhook configuration.
- Parameters:
webhookConfiguration
- An Amazon Chime webhook configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webhookConfiguration
default CreateChimeWebhookConfigurationResponse.Builder webhookConfiguration(Consumer<ChimeWebhookConfiguration.Builder> webhookConfiguration) An Amazon Chime webhook configuration.
This is a convenience method that creates an instance of theChimeWebhookConfiguration.Builder
avoiding the need to create one manually viaChimeWebhookConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towebhookConfiguration(ChimeWebhookConfiguration)
.- Parameters:
webhookConfiguration
- a consumer that will call methods onChimeWebhookConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-