Interface UpdatePentestRequest.Builder

  • Method Details

    • pentestId

      UpdatePentestRequest.Builder pentestId(String pentestId)

      The unique identifier of the pentest to update.

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

      UpdatePentestRequest.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.
    • title

      The updated title of the pentest.

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

      The updated assets for the pentest.

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

      The updated assets for 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

      UpdatePentestRequest.Builder excludeRiskTypesWithStrings(Collection<String> excludeRiskTypes)

      The updated list of risk types to exclude from the pentest.

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

      UpdatePentestRequest.Builder excludeRiskTypesWithStrings(String... excludeRiskTypes)

      The updated list of risk types to exclude from the pentest.

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

      UpdatePentestRequest.Builder excludeRiskTypes(Collection<RiskType> excludeRiskTypes)

      The updated list of risk types to exclude from the pentest.

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

      UpdatePentestRequest.Builder excludeRiskTypes(RiskType... excludeRiskTypes)

      The updated list of risk types to exclude from the pentest.

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

      UpdatePentestRequest.Builder serviceRole(String serviceRole)

      The updated IAM service role for the pentest.

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

      The updated CloudWatch Logs configuration for the pentest.

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

      The updated 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:
    • vpcConfig

      The updated VPC configuration for the pentest.

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

      The updated VPC configuration for the pentest.

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

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

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

      UpdatePentestRequest.Builder networkTrafficConfig(NetworkTrafficConfig networkTrafficConfig)

      The updated network traffic configuration for the pentest.

      Parameters:
      networkTrafficConfig - The updated network traffic configuration for the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkTrafficConfig

      default UpdatePentestRequest.Builder networkTrafficConfig(Consumer<NetworkTrafficConfig.Builder> networkTrafficConfig)

      The updated network traffic configuration for the pentest.

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

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

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

      UpdatePentestRequest.Builder codeRemediationStrategy(String codeRemediationStrategy)

      The updated code remediation strategy for the pentest.

      Parameters:
      codeRemediationStrategy - The updated code remediation strategy for the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • codeRemediationStrategy

      UpdatePentestRequest.Builder codeRemediationStrategy(CodeRemediationStrategy codeRemediationStrategy)

      The updated code remediation strategy for the pentest.

      Parameters:
      codeRemediationStrategy - The updated code remediation strategy for the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • disableManagedSkillsWithStrings

      UpdatePentestRequest.Builder disableManagedSkillsWithStrings(Collection<String> disableManagedSkills)

      The updated list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.

      Parameters:
      disableManagedSkills - The updated list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disableManagedSkillsWithStrings

      UpdatePentestRequest.Builder disableManagedSkillsWithStrings(String... disableManagedSkills)

      The updated list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.

      Parameters:
      disableManagedSkills - The updated list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disableManagedSkills

      UpdatePentestRequest.Builder disableManagedSkills(Collection<SkillType> disableManagedSkills)

      The updated list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.

      Parameters:
      disableManagedSkills - The updated list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disableManagedSkills

      UpdatePentestRequest.Builder disableManagedSkills(SkillType... disableManagedSkills)

      The updated list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.

      Parameters:
      disableManagedSkills - The updated list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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