Interface AttackDetail.Builder

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

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

    • attackId

      AttackDetail.Builder attackId(String attackId)

      The unique identifier (ID) of the attack.

      Parameters:
      attackId - The unique identifier (ID) of the attack.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      AttackDetail.Builder resourceArn(String resourceArn)

      The ARN (Amazon Resource Name) of the resource that was attacked.

      Parameters:
      resourceArn - The ARN (Amazon Resource Name) of the resource that was attacked.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subResources

      AttackDetail.Builder subResources(Collection<SubResourceSummary> subResources)

      If applicable, additional detail about the resource being attacked, for example, IP address or URL.

      Parameters:
      subResources - If applicable, additional detail about the resource being attacked, for example, IP address or URL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subResources

      AttackDetail.Builder subResources(SubResourceSummary... subResources)

      If applicable, additional detail about the resource being attacked, for example, IP address or URL.

      Parameters:
      subResources - If applicable, additional detail about the resource being attacked, for example, IP address or URL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subResources

      If applicable, additional detail about the resource being attacked, for example, IP address or URL.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subResources(List<SubResourceSummary>).

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

      AttackDetail.Builder startTime(Instant startTime)

      The time the attack started, in Unix time in seconds.

      Parameters:
      startTime - The time the attack started, in Unix time in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      AttackDetail.Builder endTime(Instant endTime)

      The time the attack ended, in Unix time in seconds.

      Parameters:
      endTime - The time the attack ended, in Unix time in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attackCounters

      AttackDetail.Builder attackCounters(Collection<SummarizedCounter> attackCounters)

      List of counters that describe the attack for the specified time period.

      Parameters:
      attackCounters - List of counters that describe the attack for the specified time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attackCounters

      AttackDetail.Builder attackCounters(SummarizedCounter... attackCounters)

      List of counters that describe the attack for the specified time period.

      Parameters:
      attackCounters - List of counters that describe the attack for the specified time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attackCounters

      AttackDetail.Builder attackCounters(Consumer<SummarizedCounter.Builder>... attackCounters)

      List of counters that describe the attack for the specified time period.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attackCounters(List<SummarizedCounter>).

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

      AttackDetail.Builder attackProperties(Collection<AttackProperty> attackProperties)

      The array of objects that provide details of the Shield event.

      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:
      attackProperties - The array of objects that provide details of the Shield event.

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

      AttackDetail.Builder attackProperties(AttackProperty... attackProperties)

      The array of objects that provide details of the Shield event.

      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:
      attackProperties - The array of objects that provide details of the Shield event.

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

      AttackDetail.Builder attackProperties(Consumer<AttackProperty.Builder>... attackProperties)

      The array of objects that provide details of the Shield event.

      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.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attackProperties(List<AttackProperty>).

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

      AttackDetail.Builder mitigations(Collection<Mitigation> mitigations)

      List of mitigation actions taken for the attack.

      Parameters:
      mitigations - List of mitigation actions taken for the attack.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mitigations

      AttackDetail.Builder mitigations(Mitigation... mitigations)

      List of mitigation actions taken for the attack.

      Parameters:
      mitigations - List of mitigation actions taken for the attack.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mitigations

      AttackDetail.Builder mitigations(Consumer<Mitigation.Builder>... mitigations)

      List of mitigation actions taken for the attack.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to mitigations(List<Mitigation>).

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