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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector.model.InspectorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-