Interface ApplicationLayerAutomaticResponseConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ApplicationLayerAutomaticResponseConfiguration.Builder,
,ApplicationLayerAutomaticResponseConfiguration> SdkBuilder<ApplicationLayerAutomaticResponseConfiguration.Builder,
,ApplicationLayerAutomaticResponseConfiguration> SdkPojo
- Enclosing class:
ApplicationLayerAutomaticResponseConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionaction
(Consumer<ResponseAction.Builder> action) Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks.action
(ResponseAction action) Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks.Indicates whether automatic application layer DDoS mitigation is enabled for the protection.Indicates whether automatic application layer DDoS mitigation is enabled for the protection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
status
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
- Parameters:
status
- Indicates whether automatic application layer DDoS mitigation is enabled for the protection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
ApplicationLayerAutomaticResponseConfiguration.Builder status(ApplicationLayerAutomaticResponseStatus status) Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
- Parameters:
status
- Indicates whether automatic application layer DDoS mitigation is enabled for the protection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
- Parameters:
action
- Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
default ApplicationLayerAutomaticResponseConfiguration.Builder action(Consumer<ResponseAction.Builder> action) Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
This is a convenience method that creates an instance of theResponseAction.Builder
avoiding the need to create one manually viaResponseAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaction(ResponseAction)
.- Parameters:
action
- a consumer that will call methods onResponseAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-