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
Information about the reference when the referenceType
is ATTACHMENT
. Otherwise, null.
Information about a reference when the referenceType
is DATE
. Otherwise, null.
Information about a reference when the referenceType
is EMAIL
. Otherwise, null.
Information about a reference when the referenceType
is NUMBER
. Otherwise, null.
Information about a reference when the referenceType
is STRING
. Otherwise, null.
Information about the reference when the referenceType
is URL
. Otherwise, null.
Functions
Casts this ReferenceSummary as a Attachment and retrieves its aws.sdk.kotlin.services.connect.model.AttachmentReference value. Throws an exception if the ReferenceSummary is not a Attachment.
Casts this ReferenceSummary as a Attachment and retrieves its aws.sdk.kotlin.services.connect.model.AttachmentReference value. Returns null if the ReferenceSummary is not a Attachment.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.