Interface Notification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Notification.Builder,
,Notification> SdkBuilder<Notification.Builder,
,Notification> SdkPojo
- Enclosing class:
Notification
-
Method Summary
Modifier and TypeMethodDescriptiondevicePickupSnsTopicARN
(String devicePickupSnsTopicARN) Used to send SNS notifications for the person picking up the device (identified during job creation).jobStatesToNotify
(Collection<JobState> jobStatesToNotify) The list of job states that will trigger a notification for this job.jobStatesToNotify
(JobState... jobStatesToNotify) The list of job states that will trigger a notification for this job.jobStatesToNotifyWithStrings
(String... jobStatesToNotify) The list of job states that will trigger a notification for this job.jobStatesToNotifyWithStrings
(Collection<String> jobStatesToNotify) The list of job states that will trigger a notification for this job.notifyAllJobStates
(Boolean notifyAllJobStates) Any change in job state will trigger a notification for this job.snsTopicARN
(String snsTopicARN) The new SNSTopicArn
that you want to associate with this job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 SNSTopicArn
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
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
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
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
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
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
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.
-