Interface PutEventsConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<PutEventsConfigurationResponse.Builder,,PutEventsConfigurationResponse> SdkBuilder<PutEventsConfigurationResponse.Builder,,PutEventsConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutEventsConfigurationResponse
@Mutable
@NotThreadSafe
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, 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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaEventsConfiguration.builder().When the
Consumercompletes,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:
-