Interface StartCodeRemediationRequest.Builder

  • Method Details

    • agentSpaceId

      StartCodeRemediationRequest.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.
    • pentestJobId

      StartCodeRemediationRequest.Builder pentestJobId(String pentestJobId)

      The unique identifier of the pentest job that produced the findings. Mutually exclusive with codeReviewJobId.

      Parameters:
      pentestJobId - The unique identifier of the pentest job that produced the findings. Mutually exclusive with codeReviewJobId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeReviewJobId

      StartCodeRemediationRequest.Builder codeReviewJobId(String codeReviewJobId)

      The unique identifier of the code review job that produced the findings. Mutually exclusive with pentestJobId.

      Parameters:
      codeReviewJobId - The unique identifier of the code review job that produced the findings. Mutually exclusive with pentestJobId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingIds

      The list of finding identifiers to initiate code remediation for.

      Parameters:
      findingIds - The list of finding identifiers to initiate code remediation for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingIds

      StartCodeRemediationRequest.Builder findingIds(String... findingIds)

      The list of finding identifiers to initiate code remediation for.

      Parameters:
      findingIds - The list of finding identifiers to initiate code remediation for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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