Interface DescribeNotificationRuleResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodestarNotificationsResponse.Builder, CopyableBuilder<DescribeNotificationRuleResponse.Builder,DescribeNotificationRuleResponse>, SdkBuilder<DescribeNotificationRuleResponse.Builder,DescribeNotificationRuleResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeNotificationRuleResponse

  • Method Details

    • 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

      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

      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

      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

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

      This is a convenience method that creates an instance of the EventTypeSummary.Builder avoiding the need to create one manually via EventTypeSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to eventTypes(List<EventTypeSummary>).

      Parameters:
      eventTypes - a consumer that will call methods on EventTypeSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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

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

      This is a convenience method that creates an instance of the TargetSummary.Builder avoiding the need to create one manually via TargetSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targets(List<TargetSummary>).

      Parameters:
      targets - a consumer that will call methods on TargetSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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

      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:
    • 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:
    • 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

      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.