Interface UpdateUserNotificationStatusRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateUserNotificationStatusRequest.Builder,,UpdateUserNotificationStatusRequest> SdkBuilder<UpdateUserNotificationStatusRequest.Builder,,UpdateUserNotificationStatusRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateUserNotificationStatusRequest
@Mutable
@NotThreadSafe
public static interface UpdateUserNotificationStatusRequest.Builder
extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateUserNotificationStatusRequest.Builder,UpdateUserNotificationStatusRequest>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId(String instanceId) The identifier of the Amazon Connect instance.lastModifiedRegion(String lastModifiedRegion) The AWS Region where the notification status was last modified.lastModifiedTime(Instant lastModifiedTime) The timestamp when the notification status was last modified.notificationId(String notificationId) The unique identifier for the notification.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The new status for the notification.status(NotificationStatus status) The new status for the notification.The identifier of the user whose notification status is being updated.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
instanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationId
The unique identifier for the notification.
- Parameters:
notificationId- The unique identifier for the notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The identifier of the user whose notification status is being updated.
- Parameters:
userId- The identifier of the user whose notification status is being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The new status for the notification. Valid values are READ, UNREAD, and HIDDEN.
- Parameters:
status- The new status for the notification. Valid values are READ, UNREAD, and HIDDEN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The new status for the notification. Valid values are READ, UNREAD, and HIDDEN.
- Parameters:
status- The new status for the notification. Valid values are READ, UNREAD, and HIDDEN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
The timestamp when the notification status was last modified. Used for cross-region replication and optimistic locking.
- Parameters:
lastModifiedTime- The timestamp when the notification status was last modified. Used for cross-region replication and optimistic locking.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedRegion
The AWS Region where the notification status was last modified. Used for cross-region replication.
- Parameters:
lastModifiedRegion- The AWS Region where the notification status was last modified. Used for cross-region replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateUserNotificationStatusRequest.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
UpdateUserNotificationStatusRequest.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.
-