Interface AttackStatisticsDataItem.Builder

  • Method Details

    • attackVolume

      AttackStatisticsDataItem.Builder attackVolume(AttackVolume attackVolume)

      Information about the volume of attacks during the time period. If the accompanying AttackCount is zero, this setting might be empty.

      Parameters:
      attackVolume - Information about the volume of attacks during the time period. If the accompanying AttackCount is zero, this setting might be empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attackVolume

      default AttackStatisticsDataItem.Builder attackVolume(Consumer<AttackVolume.Builder> attackVolume)

      Information about the volume of attacks during the time period. If the accompanying AttackCount is zero, this setting might be empty.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attackVolume(AttackVolume).

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

      AttackStatisticsDataItem.Builder attackCount(Long attackCount)

      The number of attacks detected during the time period. This is always present, but might be zero.

      Parameters:
      attackCount - The number of attacks detected during the time period. This is always present, but might be zero.
      Returns:
      Returns a reference to this object so that method calls can be chained together.