Interface AttackDetail.Builder

    • Method Detail

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

        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:
        #attackProperties(java.util.Collection)
      • 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.