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 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

      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 the ApplicationLayerAutomaticResponseConfiguration.Builder avoiding the need to create one manually via ApplicationLayerAutomaticResponseConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to applicationLayerAutomaticResponseConfiguration(ApplicationLayerAutomaticResponseConfiguration).

      Parameters:
      applicationLayerAutomaticResponseConfiguration - a consumer that will call methods on ApplicationLayerAutomaticResponseConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: