Interface UpdatePentestResponse.Builder

  • Method Details

    • pentestId

      UpdatePentestResponse.Builder pentestId(String pentestId)

      The unique identifier of the pentest.

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

      The title of the pentest.

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

      UpdatePentestResponse.Builder createdAt(Instant createdAt)

      The date and time the pentest was created, in UTC format.

      Parameters:
      createdAt - The date and time the pentest was created, in UTC format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      UpdatePentestResponse.Builder updatedAt(Instant updatedAt)

      The date and time the pentest was last updated, in UTC format.

      Parameters:
      updatedAt - The date and time the pentest was last updated, in UTC format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assets

      The assets included in the pentest.

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

      The assets included in the 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)

      The list of risk types excluded from the pentest.

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

      UpdatePentestResponse.Builder excludeRiskTypesWithStrings(String... excludeRiskTypes)

      The list of risk types excluded from the pentest.

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

      UpdatePentestResponse.Builder excludeRiskTypes(Collection<RiskType> excludeRiskTypes)

      The list of risk types excluded from the pentest.

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

      UpdatePentestResponse.Builder excludeRiskTypes(RiskType... excludeRiskTypes)

      The list of risk types excluded from the pentest.

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

      UpdatePentestResponse.Builder serviceRole(String serviceRole)

      The IAM service role used for the pentest.

      Parameters:
      serviceRole - The IAM service role used for the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logConfig

      The CloudWatch Logs configuration for the pentest.

      Parameters:
      logConfig - The CloudWatch Logs configuration for the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logConfig

      The CloudWatch Logs configuration for the pentest.

      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)

      The unique identifier of the agent space that contains the pentest.

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