Interface UpdateApplicationLayerAutomaticResponseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateApplicationLayerAutomaticResponseRequest.Builder,
,UpdateApplicationLayerAutomaticResponseRequest> SdkBuilder<UpdateApplicationLayerAutomaticResponseRequest.Builder,
,UpdateApplicationLayerAutomaticResponseRequest> SdkPojo
,SdkRequest.Builder
,ShieldRequest.Builder
- Enclosing class:
UpdateApplicationLayerAutomaticResponseRequest
-
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.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 (Amazon Resource Name) of the resource.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.shield.model.ShieldRequest.Builder
build
-
Method Details
-
resourceArn
The ARN (Amazon Resource Name) of the resource.
- Parameters:
resourceArn
- The ARN (Amazon Resource Name) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 UpdateApplicationLayerAutomaticResponseRequest.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:
-
overrideConfiguration
UpdateApplicationLayerAutomaticResponseRequest.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
UpdateApplicationLayerAutomaticResponseRequest.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.
-