
com.pulumi.gcp.alloydb.kotlin.outputs.ClusterMigrationSource.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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