Interface CreateCodeReviewResponse.Builder

  • Method Details

    • codeReviewId

      CreateCodeReviewResponse.Builder codeReviewId(String codeReviewId)

      The unique identifier of the created code review.

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

      The title of the code review.

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

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

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

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

      Parameters:
      updatedAt - The date and time the code review 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 code review.

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

      The assets included in the code review.

      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:
    • serviceRole

      CreateCodeReviewResponse.Builder serviceRole(String serviceRole)

      The IAM service role used for the code review.

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

      The CloudWatch Logs configuration for the code review.

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

      The CloudWatch Logs configuration for the code review.

      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

      CreateCodeReviewResponse.Builder agentSpaceId(String agentSpaceId)

      The unique identifier of the agent space that contains the code review.

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

      CreateCodeReviewResponse.Builder codeRemediationStrategy(String codeRemediationStrategy)

      The code remediation strategy for the code review.

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

      CreateCodeReviewResponse.Builder codeRemediationStrategy(CodeRemediationStrategy codeRemediationStrategy)

      The code remediation strategy for the code review.

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