Interface InventoryUsage.Builder

  • Method Details

    • certificateIdentifier

      InventoryUsage.Builder certificateIdentifier(String certificateIdentifier)

      The identifier of the certificate in use.

      Parameters:
      certificateIdentifier - The identifier of the certificate in use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • target

      Where the certificate is used.

      Parameters:
      target - Where the certificate is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • target

      Where the certificate is used.

      This is a convenience method that creates an instance of the UsageTarget.Builder avoiding the need to create one manually via UsageTarget.builder().

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

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

      InventoryUsage.Builder lastObservedAt(Instant lastObservedAt)

      When the certificate was last observed at the target, to the second.

      Parameters:
      lastObservedAt - When the certificate was last observed at the target, to the second.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      InventoryUsage.Builder accountId(String accountId)

      The account that holds the target. Absent when it is not known.

      Parameters:
      accountId - The account that holds the target. Absent when it is not known.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      The Region of the target. Absent for a global resource, such as an Amazon CloudFront distribution, and when it is not known.

      Parameters:
      region - The Region of the target. Absent for a global resource, such as an Amazon CloudFront distribution, and when it is not known.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentReported

      InventoryUsage.Builder agentReported(AgentUsageDetail agentReported)

      Detail about a usage that a provider reported. Absent for a usage that AWS Certificate Manager (ACM) reports.

      Parameters:
      agentReported - Detail about a usage that a provider reported. Absent for a usage that AWS Certificate Manager (ACM) reports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentReported

      default InventoryUsage.Builder agentReported(Consumer<AgentUsageDetail.Builder> agentReported)

      Detail about a usage that a provider reported. Absent for a usage that AWS Certificate Manager (ACM) reports.

      This is a convenience method that creates an instance of the AgentUsageDetail.Builder avoiding the need to create one manually via AgentUsageDetail.builder().

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

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