commonMain.aws.sdk.kotlin.services.timestreaminfluxdb.model.Parameters.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of timestreaminfluxdb-jvm Show documentation
Show all versions of timestreaminfluxdb-jvm Show documentation
The AWS SDK for Kotlin client for Timestream InfluxDB
// 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
}