Interface CreateChimeWebhookConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChatbotResponse.Builder,CopyableBuilder<CreateChimeWebhookConfigurationResponse.Builder,,CreateChimeWebhookConfigurationResponse> SdkBuilder<CreateChimeWebhookConfigurationResponse.Builder,,CreateChimeWebhookConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateChimeWebhookConfigurationResponse
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, 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
-
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.Builderavoiding the need to create one manually viaChimeWebhookConfiguration.builder().When the
Consumercompletes,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:
-