Interface DescribeNotificationRuleResponse.Builder

    • Method Detail

      • arn

        DescribeNotificationRuleResponse.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the notification rule.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the notification rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        DescribeNotificationRuleResponse.Builder name​(String name)

        The name of the notification rule.

        Parameters:
        name - The name of the notification rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventTypes

        DescribeNotificationRuleResponse.Builder eventTypes​(Collection<EventTypeSummary> eventTypes)

        A list of the event types associated with the notification rule.

        Parameters:
        eventTypes - A list of the event types associated with the notification rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventTypes

        DescribeNotificationRuleResponse.Builder eventTypes​(EventTypeSummary... eventTypes)

        A list of the event types associated with the notification rule.

        Parameters:
        eventTypes - A list of the event types associated with the notification rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resource

        DescribeNotificationRuleResponse.Builder resource​(String resource)

        The Amazon Resource Name (ARN) of the resource associated with the notification rule.

        Parameters:
        resource - The Amazon Resource Name (ARN) of the resource associated with the notification rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targets

        DescribeNotificationRuleResponse.Builder targets​(Collection<TargetSummary> targets)

        A list of the Chatbot topics and Chatbot clients associated with the notification rule.

        Parameters:
        targets - A list of the Chatbot topics and Chatbot clients associated with the notification rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targets

        DescribeNotificationRuleResponse.Builder targets​(TargetSummary... targets)

        A list of the Chatbot topics and Chatbot clients associated with the notification rule.

        Parameters:
        targets - A list of the Chatbot topics and Chatbot clients associated with the notification rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • detailType

        DescribeNotificationRuleResponse.Builder detailType​(String detailType)

        The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

        Parameters:
        detailType - The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DetailType, DetailType
      • detailType

        DescribeNotificationRuleResponse.Builder detailType​(DetailType detailType)

        The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

        Parameters:
        detailType - The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DetailType, DetailType
      • createdBy

        DescribeNotificationRuleResponse.Builder createdBy​(String createdBy)

        The name or email alias of the person who created the notification rule.

        Parameters:
        createdBy - The name or email alias of the person who created the notification rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        DescribeNotificationRuleResponse.Builder status​(String status)

        The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).

        Parameters:
        status - The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NotificationRuleStatus, NotificationRuleStatus
      • createdTimestamp

        DescribeNotificationRuleResponse.Builder createdTimestamp​(Instant createdTimestamp)

        The date and time the notification rule was created, in timestamp format.

        Parameters:
        createdTimestamp - The date and time the notification rule was created, in timestamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTimestamp

        DescribeNotificationRuleResponse.Builder lastModifiedTimestamp​(Instant lastModifiedTimestamp)

        The date and time the notification rule was most recently updated, in timestamp format.

        Parameters:
        lastModifiedTimestamp - The date and time the notification rule was most recently updated, in timestamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        DescribeNotificationRuleResponse.Builder tags​(Map<String,​String> tags)

        The tags associated with the notification rule.

        Parameters:
        tags - The tags associated with the notification rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.