Interface AttackProperty.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AttackProperty.Builder,AttackProperty>, SdkBuilder<AttackProperty.Builder,AttackProperty>, SdkPojo
Enclosing class:
AttackProperty

public static interface AttackProperty.Builder extends SdkPojo, CopyableBuilder<AttackProperty.Builder,AttackProperty>
  • Method Details

    • 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

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

      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:
    • 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<Contributor>).

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

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