public static interface SubscribeToEventRequest.Builder extends InspectorRequest.Builder, CopyableBuilder<SubscribeToEventRequest.Builder,SubscribeToEventRequest>
Modifier and Type | Method and Description |
---|---|
SubscribeToEventRequest.Builder |
event(InspectorEvent event)
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.
|
SubscribeToEventRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
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.
|
build
requestOverrideConfig, requestOverrideConfig
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
,
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
,
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.SubscribeToEventRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.