![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.transfer.kotlin.ProfileArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.transfer.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.transfer.ProfileArgs.builder
import com.pulumi.awsnative.transfer.kotlin.enums.ProfileType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
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
/**
* Resource Type definition for AWS::Transfer::Profile
* @property as2Id AS2 identifier agreed with a trading partner.
* @property certificateIds List of the certificate IDs associated with this profile to be used for encryption and signing of AS2 messages.
* @property profileType Enum specifying whether the profile is local or associated with a trading partner.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class ProfileArgs(
public val as2Id: Output? = null,
public val certificateIds: Output>? = null,
public val profileType: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.transfer.ProfileArgs =
com.pulumi.awsnative.transfer.ProfileArgs.builder()
.as2Id(as2Id?.applyValue({ args0 -> args0 }))
.certificateIds(certificateIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.profileType(profileType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ProfileArgs].
*/
@PulumiTagMarker
public class ProfileArgsBuilder internal constructor() {
private var as2Id: Output? = null
private var certificateIds: Output>? = null
private var profileType: Output? = null
private var tags: Output>? = null
/**
* @param value AS2 identifier agreed with a trading partner.
*/
@JvmName("akwhxdsmfcymgtfk")
public suspend fun as2Id(`value`: Output) {
this.as2Id = value
}
/**
* @param value List of the certificate IDs associated with this profile to be used for encryption and signing of AS2 messages.
*/
@JvmName("elnyqxthrodrbvpl")
public suspend fun certificateIds(`value`: Output>) {
this.certificateIds = value
}
@JvmName("qfwweduugpkjajiy")
public suspend fun certificateIds(vararg values: Output) {
this.certificateIds = Output.all(values.asList())
}
/**
* @param values List of the certificate IDs associated with this profile to be used for encryption and signing of AS2 messages.
*/
@JvmName("chbyuksirnahvrqp")
public suspend fun certificateIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy