ResourceId

sealed class ResourceId

The identifier for a resource object that contains resources where a finding was detected.

Inheritors

Types

Link copied to clipboard
data class CodeArtifactId(val value: String) : ResourceId

The identifier for the code file uploaded to the resource where a finding was detected.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this ResourceId as a CodeArtifactId and retrieves its kotlin.String value. Throws an exception if the ResourceId is not a CodeArtifactId.

Link copied to clipboard

Casts this ResourceId as a CodeArtifactId and retrieves its kotlin.String value. Returns null if the ResourceId is not a CodeArtifactId.