com.pulumi.azurenative.datafactory.kotlin.outputs.AmazonRedshiftSourceResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.outputs
import kotlin.Any
import kotlin.String
import kotlin.Suppress
/**
* A copy activity source for Amazon Redshift Source.
* @property additionalColumns Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
* @property disableMetricsCollection If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
* @property maxConcurrentConnections The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
* @property query Database query. Type: string (or Expression with resultType string).
* @property queryTimeout Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
* @property redshiftUnloadSettings The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3.
* @property sourceRetryCount Source retry count. Type: integer (or Expression with resultType integer).
* @property sourceRetryWait Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
* @property type Copy source type.
* Expected value is 'AmazonRedshiftSource'.
*/
public data class AmazonRedshiftSourceResponse(
public val additionalColumns: Any? = null,
public val disableMetricsCollection: Any? = null,
public val maxConcurrentConnections: Any? = null,
public val query: Any? = null,
public val queryTimeout: Any? = null,
public val redshiftUnloadSettings: RedshiftUnloadSettingsResponse? = null,
public val sourceRetryCount: Any? = null,
public val sourceRetryWait: Any? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.datafactory.outputs.AmazonRedshiftSourceResponse): AmazonRedshiftSourceResponse = AmazonRedshiftSourceResponse(
additionalColumns = javaType.additionalColumns().map({ args0 -> args0 }).orElse(null),
disableMetricsCollection = javaType.disableMetricsCollection().map({ args0 -> args0 }).orElse(null),
maxConcurrentConnections = javaType.maxConcurrentConnections().map({ args0 -> args0 }).orElse(null),
query = javaType.query().map({ args0 -> args0 }).orElse(null),
queryTimeout = javaType.queryTimeout().map({ args0 -> args0 }).orElse(null),
redshiftUnloadSettings = javaType.redshiftUnloadSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datafactory.kotlin.outputs.RedshiftUnloadSettingsResponse.Companion.toKotlin(args0)
})
}).orElse(null),
sourceRetryCount = javaType.sourceRetryCount().map({ args0 -> args0 }).orElse(null),
sourceRetryWait = javaType.sourceRetryWait().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}