Interface CreateNotificationRequest.Builder

    • Method Detail

      • accountId

        CreateNotificationRequest.Builder accountId​(String accountId)

        The accountId that is associated with the budget that you want to create a notification for.

        Parameters:
        accountId - The accountId that is associated with the budget that you want to create a notification for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • budgetName

        CreateNotificationRequest.Builder budgetName​(String budgetName)

        The name of the budget that you want Amazon Web Services to notify you about. Budget names must be unique within an account.

        Parameters:
        budgetName - The name of the budget that you want Amazon Web Services to notify you about. Budget names must be unique within an account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notification

        CreateNotificationRequest.Builder notification​(Notification notification)

        The notification that you want to create.

        Parameters:
        notification - The notification that you want to create.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribers

        CreateNotificationRequest.Builder subscribers​(Collection<Subscriber> subscribers)

        A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.

        Parameters:
        subscribers - A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribers

        CreateNotificationRequest.Builder subscribers​(Subscriber... subscribers)

        A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.

        Parameters:
        subscribers - A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribers

        CreateNotificationRequest.Builder subscribers​(Consumer<Subscriber.Builder>... subscribers)

        A list of subscribers that you want to associate with the notification. Each notification can have one SNS subscriber and up to 10 email subscribers.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #subscribers(List).

        Parameters:
        subscribers - a consumer that will call methods on Subscriber.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #subscribers(java.util.Collection)