Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azuredatatransfer.kotlin.inputs
import com.pulumi.azurenative.azuredatatransfer.inputs.ConnectionPropertiesArgs.builder
import com.pulumi.azurenative.azuredatatransfer.kotlin.enums.Direction
import com.pulumi.azurenative.azuredatatransfer.kotlin.enums.FlowType
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Properties of connection
* @property direction Direction of data movement
* @property flowTypes The flow types being requested for this connection
* @property justification Justification for the connection request
* @property pin PIN to link requests together
* @property pipeline Pipeline to use to transfer data
* @property policies The policies for this connection
* @property primaryContact The primary contact for this connection request
* @property remoteSubscriptionId Subscription ID to link cloud subscriptions together
* @property requirementId Requirement ID of the connection
* @property schemas The schemas for this connection
* @property secondaryContacts The secondary contacts for this connection request
*/
public data class ConnectionPropertiesArgs(
public val direction: Output>? = null,
public val flowTypes: Output>>? = null,
public val justification: Output? = null,
public val pin: Output? = null,
public val pipeline: Output,
public val policies: Output>? = null,
public val primaryContact: Output? = null,
public val remoteSubscriptionId: Output? = null,
public val requirementId: Output? = null,
public val schemas: Output>? = null,
public val secondaryContacts: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.azuredatatransfer.inputs.ConnectionPropertiesArgs =
com.pulumi.azurenative.azuredatatransfer.inputs.ConnectionPropertiesArgs.builder()
.direction(
direction?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.flowTypes(
flowTypes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
})
}),
)
.justification(justification?.applyValue({ args0 -> args0 }))
.pin(pin?.applyValue({ args0 -> args0 }))
.pipeline(pipeline.applyValue({ args0 -> args0 }))
.policies(policies?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.primaryContact(primaryContact?.applyValue({ args0 -> args0 }))
.remoteSubscriptionId(remoteSubscriptionId?.applyValue({ args0 -> args0 }))
.requirementId(requirementId?.applyValue({ args0 -> args0 }))
.schemas(
schemas?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.secondaryContacts(secondaryContacts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ConnectionPropertiesArgs].
*/
@PulumiTagMarker
public class ConnectionPropertiesArgsBuilder internal constructor() {
private var direction: Output>? = null
private var flowTypes: Output>>? = null
private var justification: Output? = null
private var pin: Output? = null
private var pipeline: Output? = null
private var policies: Output>? = null
private var primaryContact: Output? = null
private var remoteSubscriptionId: Output? = null
private var requirementId: Output? = null
private var schemas: Output>? = null
private var secondaryContacts: Output>? = null
/**
* @param value Direction of data movement
*/
@JvmName("mquasvxjndsfmjrb")
public suspend fun direction(`value`: Output>) {
this.direction = value
}
/**
* @param value The flow types being requested for this connection
*/
@JvmName("hnpirkuswaihirjh")
public suspend fun flowTypes(`value`: Output>>) {
this.flowTypes = value
}
@JvmName("wwmmlhfxcksfiwhl")
public suspend fun flowTypes(vararg values: Output>) {
this.flowTypes = Output.all(values.asList())
}
/**
* @param values The flow types being requested for this connection
*/
@JvmName("omriskfjodiakjsh")
public suspend fun flowTypes(values: List