Interface Protection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Protection.Builder,
,Protection> SdkBuilder<Protection.Builder,
,Protection> SdkPojo
- Enclosing class:
Protection
-
Method Summary
Modifier and TypeMethodDescriptiondefault Protection.Builder
applicationLayerAutomaticResponseConfiguration
(Consumer<ApplicationLayerAutomaticResponseConfiguration.Builder> applicationLayerAutomaticResponseConfiguration) The automatic application layer DDoS mitigation settings for the protection.applicationLayerAutomaticResponseConfiguration
(ApplicationLayerAutomaticResponseConfiguration applicationLayerAutomaticResponseConfiguration) The automatic application layer DDoS mitigation settings for the protection.healthCheckIds
(String... healthCheckIds) The unique identifier (ID) for the Route 53 health check that's associated with the protection.healthCheckIds
(Collection<String> healthCheckIds) The unique identifier (ID) for the Route 53 health check that's associated with the protection.The unique identifier (ID) of the protection.The name of the protection.protectionArn
(String protectionArn) The ARN (Amazon Resource Name) of the protection.resourceArn
(String resourceArn) The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.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
-
id
The unique identifier (ID) of the protection.
- Parameters:
id
- The unique identifier (ID) of the protection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the protection. For example,
My CloudFront distributions
.- Parameters:
name
- The name of the protection. For example,My CloudFront distributions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.
- Parameters:
resourceArn
- The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckIds
The unique identifier (ID) for the Route 53 health check that's associated with the protection.
- Parameters:
healthCheckIds
- The unique identifier (ID) for the Route 53 health check that's associated with the protection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckIds
The unique identifier (ID) for the Route 53 health check that's associated with the protection.
- Parameters:
healthCheckIds
- The unique identifier (ID) for the Route 53 health check that's associated with the protection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectionArn
The ARN (Amazon Resource Name) of the protection.
- Parameters:
protectionArn
- The ARN (Amazon Resource Name) of the protection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationLayerAutomaticResponseConfiguration
Protection.Builder applicationLayerAutomaticResponseConfiguration(ApplicationLayerAutomaticResponseConfiguration applicationLayerAutomaticResponseConfiguration) The automatic application layer DDoS mitigation settings for the protection. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks.
- Parameters:
applicationLayerAutomaticResponseConfiguration
- The automatic application layer DDoS mitigation settings for the protection. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationLayerAutomaticResponseConfiguration
default Protection.Builder applicationLayerAutomaticResponseConfiguration(Consumer<ApplicationLayerAutomaticResponseConfiguration.Builder> applicationLayerAutomaticResponseConfiguration) The automatic application layer DDoS mitigation settings for the protection. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks.
This is a convenience method that creates an instance of theApplicationLayerAutomaticResponseConfiguration.Builder
avoiding the need to create one manually viaApplicationLayerAutomaticResponseConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationLayerAutomaticResponseConfiguration(ApplicationLayerAutomaticResponseConfiguration)
.- Parameters:
applicationLayerAutomaticResponseConfiguration
- a consumer that will call methods onApplicationLayerAutomaticResponseConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-