public static interface UnsubscribeFromEventRequest.Builder extends InspectorRequest.Builder, CopyableBuilder<UnsubscribeFromEventRequest.Builder,UnsubscribeFromEventRequest>
Modifier and Type | Method and Description |
---|---|
UnsubscribeFromEventRequest.Builder |
event(InspectorEvent event)
The event for which you want to stop receiving SNS notifications.
|
UnsubscribeFromEventRequest.Builder |
event(String event)
The event for which you want to stop receiving SNS notifications.
|
UnsubscribeFromEventRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UnsubscribeFromEventRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
UnsubscribeFromEventRequest.Builder |
resourceArn(String resourceArn)
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS
notifications.
|
UnsubscribeFromEventRequest.Builder |
topicArn(String topicArn)
The ARN of the SNS topic to which SNS notifications are sent.
|
build
requestOverrideConfig
copy
apply, build
UnsubscribeFromEventRequest.Builder resourceArn(String resourceArn)
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
resourceArn
- The ARN of the assessment template that is used during the event for which you want to stop receiving
SNS notifications.UnsubscribeFromEventRequest.Builder event(String event)
The event for which you want to stop receiving SNS notifications.
event
- The event for which you want to stop receiving SNS notifications.InspectorEvent
,
InspectorEvent
UnsubscribeFromEventRequest.Builder event(InspectorEvent event)
The event for which you want to stop receiving SNS notifications.
event
- The event for which you want to stop receiving SNS notifications.InspectorEvent
,
InspectorEvent
UnsubscribeFromEventRequest.Builder topicArn(String topicArn)
The ARN of the SNS topic to which SNS notifications are sent.
topicArn
- The ARN of the SNS topic to which SNS notifications are sent.UnsubscribeFromEventRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.UnsubscribeFromEventRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.