public static interface Notification.Builder extends CopyableBuilder<Notification.Builder,Notification>
Modifier and Type | Method and Description |
---|---|
Notification.Builder |
jobStatesToNotify(Collection<JobState> jobStatesToNotify)
The list of job states that will trigger a notification for this job.
|
Notification.Builder |
jobStatesToNotify(JobState... jobStatesToNotify)
The list of job states that will trigger a notification for this job.
|
Notification.Builder |
jobStatesToNotifyWithStrings(Collection<String> jobStatesToNotify)
The list of job states that will trigger a notification for this job.
|
Notification.Builder |
jobStatesToNotifyWithStrings(String... jobStatesToNotify)
The list of job states that will trigger a notification for this job.
|
Notification.Builder |
notifyAllJobStates(Boolean notifyAllJobStates)
Any change in job state will trigger a notification for this job.
|
Notification.Builder |
snsTopicARN(String snsTopicARN)
The new SNS
TopicArn that you want to associate with this job. |
copy
applyMutation, build
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 AWS Management Console, or by using the Subscribe AWS Simple Notification Service (SNS) API action.
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 AWS Management Console, or by using the Subscribe AWS Simple Notification Service (SNS) API action.
Notification.Builder jobStatesToNotifyWithStrings(Collection<String> jobStatesToNotify)
The list of job states that will trigger a notification for this job.
jobStatesToNotify
- The list of job states that will trigger a notification for this job.Notification.Builder jobStatesToNotifyWithStrings(String... jobStatesToNotify)
The list of job states that will trigger a notification for this job.
jobStatesToNotify
- The list of job states that will trigger a notification for this job.Notification.Builder jobStatesToNotify(Collection<JobState> jobStatesToNotify)
The list of job states that will trigger a notification for this job.
jobStatesToNotify
- The list of job states that will trigger a notification for this job.Notification.Builder jobStatesToNotify(JobState... jobStatesToNotify)
The list of job states that will trigger a notification for this job.
jobStatesToNotify
- The list of job states that will trigger a notification for this job.Notification.Builder notifyAllJobStates(Boolean notifyAllJobStates)
Any change in job state will trigger a notification for this job.
notifyAllJobStates
- Any change in job state will trigger a notification for this job.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.