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

commonMain.aws.sdk.kotlin.services.glue.model.TableOptimizerVpcConfiguration.kt Maven / Gradle / Ivy

The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.glue.model



/**
 * An object that describes the VPC configuration for a table optimizer.
 *
 * This configuration is necessary to perform optimization on tables that are in a customer VPC.
 */
public sealed class TableOptimizerVpcConfiguration {
    /**
     * The name of the Glue connection used for the VPC for the table optimizer.
     */
    public data class GlueConnectionName(val value: kotlin.String) : aws.sdk.kotlin.services.glue.model.TableOptimizerVpcConfiguration() {
    }

    public object SdkUnknown : aws.sdk.kotlin.services.glue.model.TableOptimizerVpcConfiguration() {
    }

    /**
     * Casts this [TableOptimizerVpcConfiguration] as a [GlueConnectionName] and retrieves its [kotlin.String] value. Throws an exception if the [TableOptimizerVpcConfiguration] is not a
     * [GlueConnectionName].
     */
    public fun asGlueConnectionName(): kotlin.String = (this as TableOptimizerVpcConfiguration.GlueConnectionName).value

    /**
     * Casts this [TableOptimizerVpcConfiguration] as a [GlueConnectionName] and retrieves its [kotlin.String] value. Returns null if the [TableOptimizerVpcConfiguration] is not a [GlueConnectionName].
     */
    public fun asGlueConnectionNameOrNull(): kotlin.String? = (this as? TableOptimizerVpcConfiguration.GlueConnectionName)?.value
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy