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

com.pulumi.gcp.alloydb.kotlin.outputs.ClusterMigrationSource.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.20.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.alloydb.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property hostPort The host and port of the on-premises instance in host:port format
 * @property referenceId Place holder for the external source identifier(e.g DMS job name) that created the cluster.
 * @property sourceType Type of migration source.
 */
public data class ClusterMigrationSource(
    public val hostPort: String? = null,
    public val referenceId: String? = null,
    public val sourceType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.ClusterMigrationSource): ClusterMigrationSource = ClusterMigrationSource(
            hostPort = javaType.hostPort().map({ args0 -> args0 }).orElse(null),
            referenceId = javaType.referenceId().map({ args0 -> args0 }).orElse(null),
            sourceType = javaType.sourceType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy