Interface InventoryRelatedResource.Builder

  • Method Details

    • resourceType

      InventoryRelatedResource.Builder resourceType(String resourceType)

      The type of the resource.

      Parameters:
      resourceType - The type of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      The type of the resource.

      Parameters:
      resourceType - The type of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceArn

      InventoryRelatedResource.Builder resourceArn(String resourceArn)

      The resource's ARN.

      Parameters:
      resourceArn - The resource's ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuanceType

      InventoryRelatedResource.Builder issuanceType(String issuanceType)

      How AWS Certificate Manager holds the certificate. Present only for ACM_CERTIFICATE.

      Parameters:
      issuanceType - How AWS Certificate Manager holds the certificate. Present only for ACM_CERTIFICATE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • issuanceType

      InventoryRelatedResource.Builder issuanceType(IssuanceType issuanceType)

      How AWS Certificate Manager holds the certificate. Present only for ACM_CERTIFICATE.

      Parameters:
      issuanceType - How AWS Certificate Manager holds the certificate. Present only for ACM_CERTIFICATE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • associationStatus

      InventoryRelatedResource.Builder associationStatus(String associationStatus)

      Whether the ACM certificate still holds this certificate. Present only for ACM_CERTIFICATE.

      Parameters:
      associationStatus - Whether the ACM certificate still holds this certificate. Present only for ACM_CERTIFICATE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • associationStatus

      InventoryRelatedResource.Builder associationStatus(InventoryAssociationStatus associationStatus)

      Whether the ACM certificate still holds this certificate. Present only for ACM_CERTIFICATE.

      Parameters:
      associationStatus - Whether the ACM certificate still holds this certificate. Present only for ACM_CERTIFICATE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • metadata

      What AWS Certificate Manager (ACM) or AWS Private Certificate Authority (AWS Private CA) reported for the resource named by ResourceArn, when the inventory last read it. The metadata's UpdatedAt says when.

      It describes that resource, not necessarily this certificate. After a renewal or reimport (AssociationStatus REPLACED), an ACM certificate's metadata describes the certificate it holds now.

      It is a stored copy, not a live read, and can be as old as the inventory's last read of the resource. Before you act on it, read ACM or AWS Private CA in the owning account. Absent when the inventory holds no read of the resource. Always absent for PCA_CERTIFICATE.

      Parameters:
      metadata - What AWS Certificate Manager (ACM) or AWS Private Certificate Authority (AWS Private CA) reported for the resource named by ResourceArn, when the inventory last read it. The metadata's UpdatedAt says when.

      It describes that resource, not necessarily this certificate. After a renewal or reimport (AssociationStatus REPLACED), an ACM certificate's metadata describes the certificate it holds now.

      It is a stored copy, not a live read, and can be as old as the inventory's last read of the resource. Before you act on it, read ACM or AWS Private CA in the owning account. Absent when the inventory holds no read of the resource. Always absent for PCA_CERTIFICATE.

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

      What AWS Certificate Manager (ACM) or AWS Private Certificate Authority (AWS Private CA) reported for the resource named by ResourceArn, when the inventory last read it. The metadata's UpdatedAt says when.

      It describes that resource, not necessarily this certificate. After a renewal or reimport (AssociationStatus REPLACED), an ACM certificate's metadata describes the certificate it holds now.

      It is a stored copy, not a live read, and can be as old as the inventory's last read of the resource. Before you act on it, read ACM or AWS Private CA in the owning account. Absent when the inventory holds no read of the resource. Always absent for PCA_CERTIFICATE.

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

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

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