Interface NotificationSettingDetail.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:
    • 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

      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

      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.