Interface UpdatePentestResponse.Builder

  • Method Details

    • pentestId

      UpdatePentestResponse.Builder pentestId(String pentestId)

      Unique identifier of the updated pentest

      Parameters:
      pentestId - Unique identifier of the updated pentest
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • title

      Title of the updated pentest

      Parameters:
      title - Title of the updated pentest
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      UpdatePentestResponse.Builder createdAt(Instant createdAt)

      Timestamp when the pentest was created

      Parameters:
      createdAt - Timestamp when the pentest was created
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      UpdatePentestResponse.Builder updatedAt(Instant updatedAt)

      Timestamp when the pentest was last updated

      Parameters:
      updatedAt - Timestamp when the pentest was last updated
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assets

      Assets to be tested in the updated pentest

      Parameters:
      assets - Assets to be tested in the updated pentest
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assets

      Assets to be tested in the updated pentest

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

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

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

      UpdatePentestResponse.Builder excludeRiskTypesWithStrings(Collection<String> excludeRiskTypes)

      A list of risk types excluded from the pentest execution

      Parameters:
      excludeRiskTypes - A list of risk types excluded from the pentest execution
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludeRiskTypesWithStrings

      UpdatePentestResponse.Builder excludeRiskTypesWithStrings(String... excludeRiskTypes)

      A list of risk types excluded from the pentest execution

      Parameters:
      excludeRiskTypes - A list of risk types excluded from the pentest execution
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludeRiskTypes

      UpdatePentestResponse.Builder excludeRiskTypes(Collection<RiskType> excludeRiskTypes)

      A list of risk types excluded from the pentest execution

      Parameters:
      excludeRiskTypes - A list of risk types excluded from the pentest execution
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludeRiskTypes

      UpdatePentestResponse.Builder excludeRiskTypes(RiskType... excludeRiskTypes)

      A list of risk types excluded from the pentest execution

      Parameters:
      excludeRiskTypes - A list of risk types excluded from the pentest execution
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceRole

      UpdatePentestResponse.Builder serviceRole(String serviceRole)

      Service role ARN for accessing customer resources

      Parameters:
      serviceRole - Service role ARN for accessing customer resources
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logConfig

      CloudWatch log group and stream prefix where pentest execution logs are stored

      Parameters:
      logConfig - CloudWatch log group and stream prefix where pentest execution logs are stored
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logConfig

      CloudWatch log group and stream prefix where pentest execution logs are stored

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

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

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

      UpdatePentestResponse.Builder agentSpaceId(String agentSpaceId)

      ID of the agent space where the pentest exists

      Parameters:
      agentSpaceId - ID of the agent space where the pentest exists
      Returns:
      Returns a reference to this object so that method calls can be chained together.