Interface StartPentestJobRequest.Builder

  • Method Details

    • agentSpaceId

      StartPentestJobRequest.Builder agentSpaceId(String agentSpaceId)

      The unique identifier of the agent space.

      Parameters:
      agentSpaceId - The unique identifier of the agent space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pentestId

      StartPentestJobRequest.Builder pentestId(String pentestId)

      The unique identifier of the pentest to start a job for.

      Parameters:
      pentestId - The unique identifier of the pentest to start a job for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobType

      The type of pentest job to start. Valid values are FULL and REVALIDATION. When set to REVALIDATION, the selectedFindingIds parameter is required.

      Parameters:
      jobType - The type of pentest job to start. Valid values are FULL and REVALIDATION. When set to REVALIDATION, the selectedFindingIds parameter is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobType

      The type of pentest job to start. Valid values are FULL and REVALIDATION. When set to REVALIDATION, the selectedFindingIds parameter is required.

      Parameters:
      jobType - The type of pentest job to start. Valid values are FULL and REVALIDATION. When set to REVALIDATION, the selectedFindingIds parameter is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • selectedFindingIds

      StartPentestJobRequest.Builder selectedFindingIds(Collection<String> selectedFindingIds)

      The list of finding identifiers to revalidate. Required when jobType is REVALIDATION. Each finding must belong to the same agent space and pentest.

      Parameters:
      selectedFindingIds - The list of finding identifiers to revalidate. Required when jobType is REVALIDATION. Each finding must belong to the same agent space and pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • selectedFindingIds

      StartPentestJobRequest.Builder selectedFindingIds(String... selectedFindingIds)

      The list of finding identifiers to revalidate. Required when jobType is REVALIDATION. Each finding must belong to the same agent space and pentest.

      Parameters:
      selectedFindingIds - The list of finding identifiers to revalidate. Required when jobType is REVALIDATION. Each finding must belong to the same agent space and pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      StartPentestJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.