public static interface Subscription.Builder extends SdkPojo, CopyableBuilder<Subscription.Builder,Subscription>
| Modifier and Type | Method and Description |
|---|---|
Subscription.Builder |
eventSubscriptions(Collection<EventSubscription> eventSubscriptions)
The list of existing event subscriptions.
|
Subscription.Builder |
eventSubscriptions(Consumer<EventSubscription.Builder>... 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSubscription.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.
eventSubscriptions - The list of existing event subscriptions.Subscription.Builder eventSubscriptions(Consumer<EventSubscription.Builder>... eventSubscriptions)
The list of existing event subscriptions.
This is a convenience method that creates an instance of theEventSubscription.Builder avoiding the need to create
one manually via EventSubscription.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #eventSubscriptions(List.
eventSubscriptions - a consumer that will call methods on
EventSubscription.Builder#eventSubscriptions(java.util.Collection) Copyright © 2023. All rights reserved.