ReferenceSummary

sealed class ReferenceSummary

Contains summary information about a reference. ReferenceSummary contains only one non null field between the URL and attachment based on the reference type.

Inheritors

Types

Link copied to clipboard

Information about the reference when the referenceType is ATTACHMENT. Otherwise, null.

Link copied to clipboard
data class Date(val value: DateReference) : ReferenceSummary

Information about a reference when the referenceType is DATE. Otherwise, null.

Link copied to clipboard
data class Email(val value: EmailReference) : ReferenceSummary

Information about a reference when the referenceType is EMAIL. Otherwise, null.

Link copied to clipboard
data class Number(val value: NumberReference) : ReferenceSummary

Information about a reference when the referenceType is NUMBER. Otherwise, null.

Link copied to clipboard
Link copied to clipboard
data class String(val value: StringReference) : ReferenceSummary

Information about a reference when the referenceType is STRING. Otherwise, null.

Link copied to clipboard
data class Url(val value: UrlReference) : ReferenceSummary

Information about the reference when the referenceType is URL. Otherwise, null.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Casts this ReferenceSummary as a Date and retrieves its aws.sdk.kotlin.services.connect.model.DateReference value. Throws an exception if the ReferenceSummary is not a Date.

Link copied to clipboard

Casts this ReferenceSummary as a Date and retrieves its aws.sdk.kotlin.services.connect.model.DateReference value. Returns null if the ReferenceSummary is not a Date.

Link copied to clipboard

Casts this ReferenceSummary as a Email and retrieves its aws.sdk.kotlin.services.connect.model.EmailReference value. Throws an exception if the ReferenceSummary is not a Email.

Link copied to clipboard

Casts this ReferenceSummary as a Email and retrieves its aws.sdk.kotlin.services.connect.model.EmailReference value. Returns null if the ReferenceSummary is not a Email.

Link copied to clipboard

Casts this ReferenceSummary as a Number and retrieves its aws.sdk.kotlin.services.connect.model.NumberReference value. Throws an exception if the ReferenceSummary is not a Number.

Link copied to clipboard

Casts this ReferenceSummary as a Number and retrieves its aws.sdk.kotlin.services.connect.model.NumberReference value. Returns null if the ReferenceSummary is not a Number.

Link copied to clipboard

Casts this ReferenceSummary as a String and retrieves its aws.sdk.kotlin.services.connect.model.StringReference value. Throws an exception if the ReferenceSummary is not a String.

Link copied to clipboard

Casts this ReferenceSummary as a String and retrieves its aws.sdk.kotlin.services.connect.model.StringReference value. Returns null if the ReferenceSummary is not a String.

Link copied to clipboard

Casts this ReferenceSummary as a Url and retrieves its aws.sdk.kotlin.services.connect.model.UrlReference value. Throws an exception if the ReferenceSummary is not a Url.

Link copied to clipboard

Casts this ReferenceSummary as a Url and retrieves its aws.sdk.kotlin.services.connect.model.UrlReference value. Returns null if the ReferenceSummary is not a Url.