All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.timestreaminfluxdb.model.Parameters.kt Maven / Gradle / Ivy

There is a newer version: 1.3.77
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.timestreaminfluxdb.model



/**
 * The parameters that comprise the parameter group.
 */
public sealed class Parameters {
    /**
     * All the customer-modifiable InfluxDB v2 parameters in Timestream for InfluxDB.
     */
    public data class InfluxDbV2(val value: aws.sdk.kotlin.services.timestreaminfluxdb.model.InfluxDbV2Parameters) : aws.sdk.kotlin.services.timestreaminfluxdb.model.Parameters() {
    }

    public object SdkUnknown : aws.sdk.kotlin.services.timestreaminfluxdb.model.Parameters() {
    }

    /**
     * Casts this [Parameters] as a [InfluxDbV2] and retrieves its [aws.sdk.kotlin.services.timestreaminfluxdb.model.InfluxDbV2Parameters] value. Throws an exception if the [Parameters] is not a
     * [InfluxDbV2].
     */
    public fun asInfluxDbV2(): aws.sdk.kotlin.services.timestreaminfluxdb.model.InfluxDbV2Parameters = (this as Parameters.InfluxDbV2).value

    /**
     * Casts this [Parameters] as a [InfluxDbV2] and retrieves its [aws.sdk.kotlin.services.timestreaminfluxdb.model.InfluxDbV2Parameters] value. Returns null if the [Parameters] is not a [InfluxDbV2].
     */
    public fun asInfluxDbV2OrNull(): aws.sdk.kotlin.services.timestreaminfluxdb.model.InfluxDbV2Parameters? = (this as? Parameters.InfluxDbV2)?.value
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy