Interface NotificationSetting.Builder

    • Method Detail

      • channel

        NotificationSetting.Builder channel​(String 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:
        NotificationChannel, NotificationChannel
      • channel

        NotificationSetting.Builder channel​(NotificationChannel 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:
        NotificationChannel, NotificationChannel
      • enabled

        NotificationSetting.Builder enabled​(Boolean 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.
      • 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.