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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kinesisvideo.model.KinesisVideoRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
StreamName
or theStreamARN
.- Parameters:
streamName
- The name of the stream from which to update the notification configuration. You must specify either theStreamName
or 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
StreamName
or 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 theStreamName
or 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.Builder
avoiding the need to create one manually viaNotificationConfiguration.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-