Interface ApplicationLayerAutomaticResponseConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ApplicationLayerAutomaticResponseConfiguration.Builder,ApplicationLayerAutomaticResponseConfiguration>,SdkBuilder<ApplicationLayerAutomaticResponseConfiguration.Builder,ApplicationLayerAutomaticResponseConfiguration>,SdkPojo
- Enclosing class:
- ApplicationLayerAutomaticResponseConfiguration
public static interface ApplicationLayerAutomaticResponseConfiguration.Builder extends SdkPojo, CopyableBuilder<ApplicationLayerAutomaticResponseConfiguration.Builder,ApplicationLayerAutomaticResponseConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ApplicationLayerAutomaticResponseConfiguration.Builderaction(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.ApplicationLayerAutomaticResponseConfiguration.Builderaction(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.ApplicationLayerAutomaticResponseConfiguration.Builderstatus(String status)Indicates whether automatic application layer DDoS mitigation is enabled for the protection.ApplicationLayerAutomaticResponseConfiguration.Builderstatus(ApplicationLayerAutomaticResponseStatus status)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
status
ApplicationLayerAutomaticResponseConfiguration.Builder status(String 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:
ApplicationLayerAutomaticResponseStatus,ApplicationLayerAutomaticResponseStatus
-
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:
ApplicationLayerAutomaticResponseStatus,ApplicationLayerAutomaticResponseStatus
-
action
ApplicationLayerAutomaticResponseConfiguration.Builder 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. 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.Builderavoiding the need to create one manually viaResponseAction.builder().When the
Consumercompletes,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:
action(ResponseAction)
-
-