Interface Notification.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Notification.Builder,Notification>, SdkBuilder<Notification.Builder,Notification>, SdkPojo
Enclosing class:
Notification

public static interface Notification.Builder extends SdkPojo, CopyableBuilder<Notification.Builder,Notification>
  • Method Details

    • snsTopicARN

      Notification.Builder snsTopicARN(String snsTopicARN)

      The new SNS TopicArn that you want to associate with this job. You can create Amazon Resource Names (ARNs) for topics by using the CreateTopic Amazon SNS API action.

      You can subscribe email addresses to an Amazon SNS topic through the Amazon Web Services Management Console, or by using the Subscribe Amazon Simple Notification Service (Amazon SNS) API action.

      Parameters:
      snsTopicARN - The new SNS TopicArn that you want to associate with this job. You can create Amazon Resource Names (ARNs) for topics by using the CreateTopic Amazon SNS API action.

      You can subscribe email addresses to an Amazon SNS topic through the Amazon Web Services Management Console, or by using the Subscribe Amazon Simple Notification Service (Amazon SNS) API action.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobStatesToNotifyWithStrings

      Notification.Builder jobStatesToNotifyWithStrings(Collection<String> jobStatesToNotify)

      The list of job states that will trigger a notification for this job.

      Parameters:
      jobStatesToNotify - The list of job states that will trigger a notification for this job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobStatesToNotifyWithStrings

      Notification.Builder jobStatesToNotifyWithStrings(String... jobStatesToNotify)

      The list of job states that will trigger a notification for this job.

      Parameters:
      jobStatesToNotify - The list of job states that will trigger a notification for this job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobStatesToNotify

      Notification.Builder jobStatesToNotify(Collection<JobState> jobStatesToNotify)

      The list of job states that will trigger a notification for this job.

      Parameters:
      jobStatesToNotify - The list of job states that will trigger a notification for this job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobStatesToNotify

      Notification.Builder jobStatesToNotify(JobState... jobStatesToNotify)

      The list of job states that will trigger a notification for this job.

      Parameters:
      jobStatesToNotify - The list of job states that will trigger a notification for this job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • devicePickupSnsTopicARN

      Notification.Builder devicePickupSnsTopicARN(String devicePickupSnsTopicARN)

      Used to send SNS notifications for the person picking up the device (identified during job creation).

      Parameters:
      devicePickupSnsTopicARN - Used to send SNS notifications for the person picking up the device (identified during job creation).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notifyAllJobStates

      Notification.Builder notifyAllJobStates(Boolean notifyAllJobStates)

      Any change in job state will trigger a notification for this job.

      Parameters:
      notifyAllJobStates - Any change in job state will trigger a notification for this job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.