ResultItem

sealed class ResultItem

This is an object representing the item returned in the results of a search for a specific resource type.

Inheritors

Types

Link copied to clipboard
data class EbsResultItem(val value: EbsResultItem) : ResultItem

These are items returned in the search results of an Amazon EBS search.

Link copied to clipboard
data class S3ResultItem(val value: S3ResultItem) : ResultItem

These are items returned in the search results of an Amazon S3 search.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this ResultItem as a EbsResultItem and retrieves its aws.sdk.kotlin.services.backupsearch.model.EbsResultItem value. Throws an exception if the ResultItem is not a EbsResultItem.

Link copied to clipboard
Link copied to clipboard

Casts this ResultItem as a S3ResultItem and retrieves its aws.sdk.kotlin.services.backupsearch.model.S3ResultItem value. Throws an exception if the ResultItem is not a S3ResultItem.

Link copied to clipboard