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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubscribeToEventRequest.Builderevent(String event)The event for which you want to receive SNS notifications.SubscribeToEventRequest.Builderevent(InspectorEvent event)The event for which you want to receive SNS notifications.SubscribeToEventRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SubscribeToEventRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SubscribeToEventRequest.BuilderresourceArn(String resourceArn)The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.SubscribeToEventRequest.BuildertopicArn(String topicArn)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 Detail
-
resourceArn
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.
- 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
SubscribeToEventRequest.Builder event(String 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:
InspectorEvent,InspectorEvent
-
event
SubscribeToEventRequest.Builder event(InspectorEvent 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:
InspectorEvent,InspectorEvent
-
topicArn
SubscribeToEventRequest.Builder topicArn(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SubscribeToEventRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-