Interface AwsEcrContainerAggregationResponse.Builder

  • Method Details

    • accountId

      The Amazon Web Services account ID of the account that owns the container.

      Parameters:
      accountId - The Amazon Web Services account ID of the account that owns the container.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • architecture

      The architecture of the container.

      Parameters:
      architecture - The architecture of the container.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageSha

      The SHA value of the container image.

      Parameters:
      imageSha - The SHA value of the container image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageTags

      The container image stags.

      Parameters:
      imageTags - The container image stags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageTags

      The container image stags.

      Parameters:
      imageTags - The container image stags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inUseCount

      The number of Amazon ECS tasks or Amazon EKS pods where the Amazon ECR container image is in use.

      Parameters:
      inUseCount - The number of Amazon ECS tasks or Amazon EKS pods where the Amazon ECR container image is in use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastInUseAt

      The last time an Amazon ECR image was used in an Amazon ECS task or Amazon EKS pod.

      Parameters:
      lastInUseAt - The last time an Amazon ECR image was used in an Amazon ECS task or Amazon EKS pod.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repository

      The container repository.

      Parameters:
      repository - The container repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceId

      The resource ID of the container.

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

      The number of finding by severity.

      Parameters:
      severityCounts - The number of finding by severity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityCounts

      The number of finding by severity.

      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: