Interface SubscribeToEventRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SubscribeToEventRequest.Builder,
,SubscribeToEventRequest> InspectorRequest.Builder
,SdkBuilder<SubscribeToEventRequest.Builder,
,SubscribeToEventRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SubscribeToEventRequest
public static interface SubscribeToEventRequest.Builder
extends InspectorRequest.Builder, SdkPojo, CopyableBuilder<SubscribeToEventRequest.Builder,SubscribeToEventRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe event for which you want to receive SNS notifications.event
(InspectorEvent event) The event for which you want to receive SNS notifications.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceArn
(String resourceArn) The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.The ARN of the SNS topic to which the SNS notifications are sent.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector.model.InspectorRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceArn
The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
- Parameters:
resourceArn
- The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
event
The event for which you want to receive SNS notifications.
- Parameters:
event
- The event for which you want to receive SNS notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
event
The event for which you want to receive SNS notifications.
- Parameters:
event
- The event for which you want to receive SNS notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
topicArn
The ARN of the SNS topic to which the SNS notifications are sent.
- Parameters:
topicArn
- The ARN of the SNS topic to which the SNS notifications are sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SubscribeToEventRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SubscribeToEventRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-