![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.s3.kotlin.inputs.AccessGrantGranteeArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.s3.kotlin.inputs
import com.pulumi.awsnative.s3.inputs.AccessGrantGranteeArgs.builder
import com.pulumi.awsnative.s3.kotlin.enums.AccessGrantGranteeGranteeType
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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property granteeIdentifier The unique identifier of the Grantee
* @property granteeType Configures the transfer acceleration state for an Amazon S3 bucket.
*/
public data class AccessGrantGranteeArgs(
public val granteeIdentifier: Output,
public val granteeType: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.s3.inputs.AccessGrantGranteeArgs =
com.pulumi.awsnative.s3.inputs.AccessGrantGranteeArgs.builder()
.granteeIdentifier(granteeIdentifier.applyValue({ args0 -> args0 }))
.granteeType(granteeType.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AccessGrantGranteeArgs].
*/
@PulumiTagMarker
public class AccessGrantGranteeArgsBuilder internal constructor() {
private var granteeIdentifier: Output? = null
private var granteeType: Output? = null
/**
* @param value The unique identifier of the Grantee
*/
@JvmName("ieicpqnclxklfvwh")
public suspend fun granteeIdentifier(`value`: Output) {
this.granteeIdentifier = value
}
/**
* @param value Configures the transfer acceleration state for an Amazon S3 bucket.
*/
@JvmName("jiwvnkricxvuxhnn")
public suspend fun granteeType(`value`: Output) {
this.granteeType = value
}
/**
* @param value The unique identifier of the Grantee
*/
@JvmName("yenborewabtnwvpb")
public suspend fun granteeIdentifier(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.granteeIdentifier = mapped
}
/**
* @param value Configures the transfer acceleration state for an Amazon S3 bucket.
*/
@JvmName("nesaraomphdfdegr")
public suspend fun granteeType(`value`: AccessGrantGranteeGranteeType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.granteeType = mapped
}
internal fun build(): AccessGrantGranteeArgs = AccessGrantGranteeArgs(
granteeIdentifier = granteeIdentifier ?: throw PulumiNullFieldException("granteeIdentifier"),
granteeType = granteeType ?: throw PulumiNullFieldException("granteeType"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy