Interface AttackSummary.Builder

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

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

    • attackId

      AttackSummary.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

      AttackSummary.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.
    • startTime

      AttackSummary.Builder startTime(Instant startTime)

      The start time of the attack, in Unix time in seconds.

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

      AttackSummary.Builder endTime(Instant endTime)

      The end time of the attack, in Unix time in seconds.

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

      The list of attacks for a specified time period.

      Parameters:
      attackVectors - The list of attacks for a specified time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attackVectors

      AttackSummary.Builder attackVectors(AttackVectorDescription... attackVectors)

      The list of attacks for a specified time period.

      Parameters:
      attackVectors - The list of attacks for a specified time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attackVectors

      The list of attacks for a specified time period.

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

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

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