Interface NotificationSetting.Builder

  • Method Details

    • channel

      The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

      In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

      Parameters:
      channel - The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

      In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • channel

      The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

      In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

      Parameters:
      channel - The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

      In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enabled

      Indicates whether the notification setting is enabled.

      Parameters:
      enabled - Indicates whether the notification setting is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • event

      The event to which this notification setting is applied.

      Parameters:
      event - The event to which this notification setting is applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • event

      The event to which this notification setting is applied.

      Parameters:
      event - The event to which this notification setting is applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • threshold

      NotificationSetting.Builder threshold(Integer threshold)

      The number of days before a notification event. This value is required for a notification setting that is enabled.

      Parameters:
      threshold - The number of days before a notification event. This value is required for a notification setting that is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.