Interface PutEventsConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeResponse.Builder
,CopyableBuilder<PutEventsConfigurationResponse.Builder,
,PutEventsConfigurationResponse> SdkBuilder<PutEventsConfigurationResponse.Builder,
,PutEventsConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutEventsConfigurationResponse
public static interface PutEventsConfigurationResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<PutEventsConfigurationResponse.Builder,PutEventsConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptioneventsConfiguration
(Consumer<EventsConfiguration.Builder> eventsConfiguration) The configuration that allows a bot to receive outgoing events.eventsConfiguration
(EventsConfiguration eventsConfiguration) The configuration that allows a bot to receive outgoing events.Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.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
-
eventsConfiguration
The configuration that allows a bot to receive outgoing events. Can be an HTTPS endpoint or an AWS Lambda function ARN.
- Parameters:
eventsConfiguration
- The configuration that allows a bot to receive outgoing events. Can be an HTTPS endpoint or an AWS Lambda function ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventsConfiguration
default PutEventsConfigurationResponse.Builder eventsConfiguration(Consumer<EventsConfiguration.Builder> eventsConfiguration) The configuration that allows a bot to receive outgoing events. Can be an HTTPS endpoint or an AWS Lambda function ARN.
This is a convenience method that creates an instance of theEventsConfiguration.Builder
avoiding the need to create one manually viaEventsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventsConfiguration(EventsConfiguration)
.- Parameters:
eventsConfiguration
- a consumer that will call methods onEventsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-