Interface AttackProperty.Builder

    • Method Detail

      • attackLayer

        AttackProperty.Builder attackLayer​(String attackLayer)

        The type of Shield event that was observed. NETWORK indicates layer 3 and layer 4 events and APPLICATION indicates layer 7 events.

        For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.

        Parameters:
        attackLayer - The type of Shield event that was observed. NETWORK indicates layer 3 and layer 4 events and APPLICATION indicates layer 7 events.

        For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttackLayer, AttackLayer
      • attackLayer

        AttackProperty.Builder attackLayer​(AttackLayer attackLayer)

        The type of Shield event that was observed. NETWORK indicates layer 3 and layer 4 events and APPLICATION indicates layer 7 events.

        For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.

        Parameters:
        attackLayer - The type of Shield event that was observed. NETWORK indicates layer 3 and layer 4 events and APPLICATION indicates layer 7 events.

        For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttackLayer, AttackLayer
      • attackPropertyIdentifier

        AttackProperty.Builder attackPropertyIdentifier​(String attackPropertyIdentifier)

        Defines the Shield event property information that is provided. The WORDPRESS_PINGBACK_REFLECTOR and WORDPRESS_PINGBACK_SOURCE values are valid only for WordPress reflective pingback events.

        Parameters:
        attackPropertyIdentifier - Defines the Shield event property information that is provided. The WORDPRESS_PINGBACK_REFLECTOR and WORDPRESS_PINGBACK_SOURCE values are valid only for WordPress reflective pingback events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttackPropertyIdentifier, AttackPropertyIdentifier
      • attackPropertyIdentifier

        AttackProperty.Builder attackPropertyIdentifier​(AttackPropertyIdentifier attackPropertyIdentifier)

        Defines the Shield event property information that is provided. The WORDPRESS_PINGBACK_REFLECTOR and WORDPRESS_PINGBACK_SOURCE values are valid only for WordPress reflective pingback events.

        Parameters:
        attackPropertyIdentifier - Defines the Shield event property information that is provided. The WORDPRESS_PINGBACK_REFLECTOR and WORDPRESS_PINGBACK_SOURCE values are valid only for WordPress reflective pingback events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttackPropertyIdentifier, AttackPropertyIdentifier
      • topContributors

        AttackProperty.Builder topContributors​(Collection<Contributor> topContributors)

        Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.

        Parameters:
        topContributors - Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topContributors

        AttackProperty.Builder topContributors​(Contributor... topContributors)

        Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.

        Parameters:
        topContributors - Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topContributors

        AttackProperty.Builder topContributors​(Consumer<Contributor.Builder>... topContributors)

        Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.

        This is a convenience method that creates an instance of the Contributor.Builder avoiding the need to create one manually via Contributor.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #topContributors(List).

        Parameters:
        topContributors - a consumer that will call methods on Contributor.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #topContributors(java.util.Collection)
      • unit

        AttackProperty.Builder unit​(String unit)

        The unit used for the Contributor Value property.

        Parameters:
        unit - The unit used for the Contributor Value property.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Unit, Unit
      • unit

        AttackProperty.Builder unit​(Unit unit)

        The unit used for the Contributor Value property.

        Parameters:
        unit - The unit used for the Contributor Value property.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Unit, Unit
      • total

        AttackProperty.Builder total​(Long total)

        The total contributions made to this Shield event by all contributors.

        Parameters:
        total - The total contributions made to this Shield event by all contributors.
        Returns:
        Returns a reference to this object so that method calls can be chained together.