Interface Protection.Builder

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