Interface CreateImageUsageReportRequest.Builder

    • Method Detail

      • imageId

        CreateImageUsageReportRequest.Builder imageId​(String imageId)

        The ID of the image to report on.

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

        CreateImageUsageReportRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountIds

        CreateImageUsageReportRequest.Builder accountIds​(Collection<String> accountIds)

        The Amazon Web Services account IDs to include in the report. To include all accounts, omit this parameter.

        Parameters:
        accountIds - The Amazon Web Services account IDs to include in the report. To include all accounts, omit this parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountIds

        CreateImageUsageReportRequest.Builder accountIds​(String... accountIds)

        The Amazon Web Services account IDs to include in the report. To include all accounts, omit this parameter.

        Parameters:
        accountIds - The Amazon Web Services account IDs to include in the report. To include all accounts, omit this parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateImageUsageReportRequest.Builder clientToken​(String clientToken)

        A unique, case-sensitive identifier that you provide to ensure idempotency of the request.

        Parameters:
        clientToken - A unique, case-sensitive identifier that you provide to ensure idempotency of the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        CreateImageUsageReportRequest.Builder tagSpecifications​(Collection<TagSpecification> tagSpecifications)

        The tags to apply to the report on creation. The ResourceType must be set to image-usage-report; any other value will cause the report creation to fail.

        To tag a report after it has been created, see CreateTags.

        Parameters:
        tagSpecifications - The tags to apply to the report on creation. The ResourceType must be set to image-usage-report; any other value will cause the report creation to fail.

        To tag a report after it has been created, see CreateTags.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        CreateImageUsageReportRequest.Builder tagSpecifications​(TagSpecification... tagSpecifications)

        The tags to apply to the report on creation. The ResourceType must be set to image-usage-report; any other value will cause the report creation to fail.

        To tag a report after it has been created, see CreateTags.

        Parameters:
        tagSpecifications - The tags to apply to the report on creation. The ResourceType must be set to image-usage-report; any other value will cause the report creation to fail.

        To tag a report after it has been created, see CreateTags.

        Returns:
        Returns a reference to this object so that method calls can be chained together.