Interface Asset.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Asset.Builder,Asset>, SdkBuilder<Asset.Builder,Asset>, SdkPojo
Enclosing class:
Asset

@Mutable @NotThreadSafe public static interface Asset.Builder extends SdkPojo, CopyableBuilder<Asset.Builder,Asset>
  • Method Details

    • assetId

      Asset.Builder assetId(String assetId)

      The unique identifier for this asset

      Parameters:
      assetId - The unique identifier for this asset
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetType

      Asset.Builder assetType(String assetType)

      The type of this asset

      Parameters:
      assetType - The type of this asset
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      Asset.Builder metadata(Document metadata)

      The metadata for this asset

      Parameters:
      metadata - The metadata for this asset
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      Asset.Builder version(Integer version)

      The version number of this asset

      Parameters:
      version - The version number of this asset
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Asset.Builder createdAt(Instant createdAt)

      Timestamp when this asset was created

      Parameters:
      createdAt - Timestamp when this asset was created
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      Asset.Builder updatedAt(Instant updatedAt)

      Timestamp when this asset was last updated

      Parameters:
      updatedAt - Timestamp when this asset was last updated
      Returns:
      Returns a reference to this object so that method calls can be chained together.