withTimestamps

fun withTimestamps(createdAt: Instant? = null, ingestedAt: Instant? = null): IngestedArtifact

Returns a copy with the created and ingested timestamps set.