Interface DescribeNotificationConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeNotificationConfigurationResponse.Builder,,DescribeNotificationConfigurationResponse> KinesisVideoResponse.Builder,SdkBuilder<DescribeNotificationConfigurationResponse.Builder,,DescribeNotificationConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeNotificationConfigurationResponse
public static interface DescribeNotificationConfigurationResponse.Builder
extends KinesisVideoResponse.Builder, SdkPojo, CopyableBuilder<DescribeNotificationConfigurationResponse.Builder,DescribeNotificationConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnotificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration) The structure that contains the information required for notifications.notificationConfiguration(NotificationConfiguration notificationConfiguration) The structure that contains the information required for notifications.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesisvideo.model.KinesisVideoResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
notificationConfiguration
DescribeNotificationConfigurationResponse.Builder notificationConfiguration(NotificationConfiguration notificationConfiguration) The structure that contains the information required for notifications. If the structure is null, the configuration will be deleted from the stream.
- Parameters:
notificationConfiguration- The structure that contains 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 DescribeNotificationConfigurationResponse.Builder notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration) The structure that contains 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:
-