Interface ImageUsageReportEntry.Builder

    • Method Detail

      • resourceType

        ImageUsageReportEntry.Builder resourceType​(String resourceType)

        The type of resource (ec2:Instance or ec2:LaunchTemplate).

        Parameters:
        resourceType - The type of resource (ec2:Instance or ec2:LaunchTemplate).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reportId

        ImageUsageReportEntry.Builder reportId​(String reportId)

        The ID of the report.

        Parameters:
        reportId - The ID of the report.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usageCount

        ImageUsageReportEntry.Builder usageCount​(Long usageCount)

        The number of times resources of this type reference this image in the account.

        Parameters:
        usageCount - The number of times resources of this type reference this image in the account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountId

        ImageUsageReportEntry.Builder accountId​(String accountId)

        The ID of the account that uses the image.

        Parameters:
        accountId - The ID of the account that uses the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • imageId

        ImageUsageReportEntry.Builder imageId​(String imageId)

        The ID of the image.

        Parameters:
        imageId - The ID of the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reportCreationTime

        ImageUsageReportEntry.Builder reportCreationTime​(Instant reportCreationTime)

        The date and time the report creation was initiated.

        Parameters:
        reportCreationTime - The date and time the report creation was initiated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.