Interface CodeRepositoryAggregationResponse.Builder

  • Method Details

    • accountId

      The Amazon Web Services account ID associated with the code repository.

      Parameters:
      accountId - The Amazon Web Services account ID associated with the code repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exploitAvailableActiveFindingsCount

      CodeRepositoryAggregationResponse.Builder exploitAvailableActiveFindingsCount(Long exploitAvailableActiveFindingsCount)

      The number of active findings that have an exploit available for the code repository.

      Parameters:
      exploitAvailableActiveFindingsCount - The number of active findings that have an exploit available for the code repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fixAvailableActiveFindingsCount

      CodeRepositoryAggregationResponse.Builder fixAvailableActiveFindingsCount(Long fixAvailableActiveFindingsCount)

      The number of active findings that have a fix available for the code repository.

      Parameters:
      fixAvailableActiveFindingsCount - The number of active findings that have a fix available for the code repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • projectNames

      The names of the projects associated with the code repository.

      Parameters:
      projectNames - The names of the projects associated with the code repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerType

      The type of repository provider for the code repository.

      Parameters:
      providerType - The type of repository provider for the code repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceId

      The resource ID of the code repository.

      Parameters:
      resourceId - The resource ID of the code repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityCounts

      Sets the value of the SeverityCounts property for this object.
      Parameters:
      severityCounts - The new value for the SeverityCounts property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityCounts

      Sets the value of the SeverityCounts property for this object. This is a convenience method that creates an instance of the SeverityCounts.Builder avoiding the need to create one manually via SeverityCounts.builder().

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

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