Interface Protection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Protection.Builder,Protection>,SdkBuilder<Protection.Builder,Protection>,SdkPojo
- Enclosing class:
- Protection
public static interface Protection.Builder extends SdkPojo, CopyableBuilder<Protection.Builder,Protection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Protection.BuilderapplicationLayerAutomaticResponseConfiguration(Consumer<ApplicationLayerAutomaticResponseConfiguration.Builder> applicationLayerAutomaticResponseConfiguration)The automatic application layer DDoS mitigation settings for the protection.Protection.BuilderapplicationLayerAutomaticResponseConfiguration(ApplicationLayerAutomaticResponseConfiguration applicationLayerAutomaticResponseConfiguration)The automatic application layer DDoS mitigation settings for the protection.Protection.BuilderhealthCheckIds(String... healthCheckIds)The unique identifier (ID) for the Route 53 health check that's associated with the protection.Protection.BuilderhealthCheckIds(Collection<String> healthCheckIds)The unique identifier (ID) for the Route 53 health check that's associated with the protection.Protection.Builderid(String id)The unique identifier (ID) of the protection.Protection.Buildername(String name)The name of the protection.Protection.BuilderprotectionArn(String protectionArn)The ARN (Amazon Resource Name) of the protection.Protection.BuilderresourceArn(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
Protection.Builder id(String 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
Protection.Builder name(String 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
Protection.Builder resourceArn(String 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
Protection.Builder healthCheckIds(Collection<String> 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
Protection.Builder healthCheckIds(String... 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
Protection.Builder protectionArn(String 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.Builderavoiding the need to create one manually viaApplicationLayerAutomaticResponseConfiguration.builder().When the
Consumercompletes,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:
applicationLayerAutomaticResponseConfiguration(ApplicationLayerAutomaticResponseConfiguration)
-
-