Provider

sealed class Provider

Describes the respective AWS Interconnect Partner organization.

Inheritors

Types

Link copied to clipboard
data class CloudServiceProvider(val value: String) : Provider

The provider's name. Specifically, connections to/from this Cloud Service Provider will be considered Multicloud connections.

Link copied to clipboard
data class LastMileProvider(val value: String) : Provider

The provider's name. Specifically, connections to/from this Last Mile Provider will be considered LastMile connections.

Link copied to clipboard

Functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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