Interface UpdateNotificationConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateNotificationConfigurationRequest.Builder,,UpdateNotificationConfigurationRequest> KinesisVideoRequest.Builder,SdkBuilder<UpdateNotificationConfigurationRequest.Builder,,UpdateNotificationConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateNotificationConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionnotificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration) The structure containing the information required for notifications.notificationConfiguration(NotificationConfiguration notificationConfiguration) The structure containing the information required for notifications.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the Kinesis video stream from where you want to update the notification configuration.streamName(String streamName) The name of the stream from which to update the notification configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesisvideo.model.KinesisVideoRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
streamName
The name of the stream from which to update the notification configuration. You must specify either the
StreamNameor theStreamARN.- Parameters:
streamName- The name of the stream from which to update the notification configuration. You must specify either theStreamNameor theStreamARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamARN
The Amazon Resource Name (ARN) of the Kinesis video stream from where you want to update the notification configuration. You must specify either the
StreamNameor theStreamARN.- Parameters:
streamARN- The Amazon Resource Name (ARN) of the Kinesis video stream from where you want to update the notification configuration. You must specify either theStreamNameor theStreamARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfiguration
UpdateNotificationConfigurationRequest.Builder notificationConfiguration(NotificationConfiguration notificationConfiguration) The structure containing the information required for notifications. If the structure is null, the configuration will be deleted from the stream.
- Parameters:
notificationConfiguration- The structure containing the information required for notifications. If the structure is null, the configuration will be deleted from the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfiguration
default UpdateNotificationConfigurationRequest.Builder notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration) The structure containing the information required for notifications. If the structure is null, the configuration will be deleted from the stream.
This is a convenience method that creates an instance of theNotificationConfiguration.Builderavoiding the need to create one manually viaNotificationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotificationConfiguration(NotificationConfiguration).- Parameters:
notificationConfiguration- a consumer that will call methods onNotificationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateNotificationConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateNotificationConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-