CopyableBuilder<SubscribeToEventRequest.Builder,SubscribeToEventRequest>
, SdkBuilder<SubscribeToEventRequest.Builder,SubscribeToEventRequest>
public static interface SubscribeToEventRequest.Builder extends CopyableBuilder<SubscribeToEventRequest.Builder,SubscribeToEventRequest>
Modifier and Type | Method | Description |
---|---|---|
SubscribeToEventRequest.Builder |
event(String event) |
The event for which you want to receive SNS notifications.
|
SubscribeToEventRequest.Builder |
event(InspectorEvent event) |
The event for which you want to receive SNS notifications.
|
SubscribeToEventRequest.Builder |
resourceArn(String resourceArn) |
The ARN of the assessment template that is used during the event for which you want to receive SNS
notifications.
|
SubscribeToEventRequest.Builder |
topicArn(String topicArn) |
The ARN of the SNS topic to which the SNS notifications are sent.
|
copy
apply, build
SubscribeToEventRequest.Builder resourceArn(String resourceArn)
The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
resourceArn
- The ARN of the assessment template that is used during the event for which you want to receive SNS
notifications.SubscribeToEventRequest.Builder event(String event)
The event for which you want to receive SNS notifications.
event
- The event for which you want to receive SNS notifications.InspectorEvent
SubscribeToEventRequest.Builder event(InspectorEvent event)
The event for which you want to receive SNS notifications.
event
- The event for which you want to receive SNS notifications.InspectorEvent
SubscribeToEventRequest.Builder topicArn(String topicArn)
The ARN of the SNS topic to which the SNS notifications are sent.
topicArn
- The ARN of the SNS topic to which the SNS notifications are sent.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.