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 |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
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.
|
buildrequestOverrideConfigcopyapply, buildSubscribeToEventRequest.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,
InspectorEventSubscribeToEventRequest.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,
InspectorEventSubscribeToEventRequest.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.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.SubscribeToEventRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.