CopyableBuilder<Subscription.Builder,Subscription>
, SdkBuilder<Subscription.Builder,Subscription>
public static interface Subscription.Builder extends CopyableBuilder<Subscription.Builder,Subscription>
Modifier and Type | Method | Description |
---|---|---|
Subscription.Builder |
eventSubscriptions(Collection<EventSubscription> eventSubscriptions) |
The list of existing event subscriptions.
|
Subscription.Builder |
eventSubscriptions(EventSubscription... eventSubscriptions) |
The list of existing event subscriptions.
|
Subscription.Builder |
resourceArn(String resourceArn) |
The ARN of the assessment template that is used during the event for which the SNS notification is sent.
|
Subscription.Builder |
topicArn(String topicArn) |
The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.
|
copy
apply, build
Subscription.Builder resourceArn(String resourceArn)
The ARN of the assessment template that is used during the event for which the SNS notification is sent.
resourceArn
- The ARN of the assessment template that is used during the event for which the SNS notification is
sent.Subscription.Builder topicArn(String topicArn)
The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.
topicArn
- The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.Subscription.Builder eventSubscriptions(Collection<EventSubscription> eventSubscriptions)
The list of existing event subscriptions.
eventSubscriptions
- The list of existing event subscriptions.Subscription.Builder eventSubscriptions(EventSubscription... eventSubscriptions)
The list of existing event subscriptions.
NOTE: This method appends the values to the existing list (if any). Use
#setEventSubscriptions(java.util.Collection)
or #withEventSubscriptions(java.util.Collection)
if you want to override the existing values.
eventSubscriptions
- The list of existing event subscriptions.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.