Interface UpdateNotificationConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateNotificationConfigurationRequest.Builder,UpdateNotificationConfigurationRequest>,KinesisVideoRequest.Builder,SdkBuilder<UpdateNotificationConfigurationRequest.Builder,UpdateNotificationConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateNotificationConfigurationRequest
public static interface UpdateNotificationConfigurationRequest.Builder extends KinesisVideoRequest.Builder, SdkPojo, CopyableBuilder<UpdateNotificationConfigurationRequest.Builder,UpdateNotificationConfigurationRequest>
-
-
Method Summary
-
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 Detail
-
streamName
UpdateNotificationConfigurationRequest.Builder streamName(String 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
UpdateNotificationConfigurationRequest.Builder streamARN(String 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:
notificationConfiguration(NotificationConfiguration)
-
overrideConfiguration
UpdateNotificationConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateNotificationConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-