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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Notification.BuilderdevicePickupSnsTopicARN(String devicePickupSnsTopicARN)Used to send SNS notifications for the person picking up the device (identified during job creation).Notification.BuilderjobStatesToNotify(Collection<JobState> jobStatesToNotify)The list of job states that will trigger a notification for this job.Notification.BuilderjobStatesToNotify(JobState... jobStatesToNotify)The list of job states that will trigger a notification for this job.Notification.BuilderjobStatesToNotifyWithStrings(String... jobStatesToNotify)The list of job states that will trigger a notification for this job.Notification.BuilderjobStatesToNotifyWithStrings(Collection<String> jobStatesToNotify)The list of job states that will trigger a notification for this job.Notification.BuildernotifyAllJobStates(Boolean notifyAllJobStates)Any change in job state will trigger a notification for this job.Notification.BuildersnsTopicARN(String snsTopicARN)The new SNSTopicArnthat 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 Detail
-
snsTopicARN
Notification.Builder snsTopicARN(String snsTopicARN)
The new SNS
TopicArnthat 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 SNSTopicArnthat 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.
-
-