Interface NotificationSettingDetail.Builder

    • Method Detail

      • channel

        NotificationSettingDetail.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

        NotificationSettingDetail.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
      • configuredBy

        NotificationSettingDetail.Builder configuredBy​(String configuredBy)

        The principal that configured the notification setting. For default settings configured by IAM Roles Anywhere, the value is rolesanywhere.amazonaws.com, and for customized notifications settings, it is the respective account ID.

        Parameters:
        configuredBy - The principal that configured the notification setting. For default settings configured by IAM Roles Anywhere, the value is rolesanywhere.amazonaws.com, and for customized notifications settings, it is the respective account ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabled

        NotificationSettingDetail.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

        NotificationSettingDetail.Builder threshold​(Integer threshold)

        The number of days before a notification event.

        Parameters:
        threshold - The number of days before a notification event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.