
com.pulumi.azurenative.machinelearningservices.kotlin.inputs.EndpointScheduleActionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.machinelearningservices.kotlin.inputs
import com.pulumi.azurenative.machinelearningservices.inputs.EndpointScheduleActionArgs.builder
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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property actionType
* Expected value is 'InvokeBatchEndpoint'.
* @property endpointInvocationDefinition [Required] Defines Schedule action definition details.
*
*/
public data class EndpointScheduleActionArgs(
public val actionType: Output,
public val endpointInvocationDefinition: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.EndpointScheduleActionArgs =
com.pulumi.azurenative.machinelearningservices.inputs.EndpointScheduleActionArgs.builder()
.actionType(actionType.applyValue({ args0 -> args0 }))
.endpointInvocationDefinition(endpointInvocationDefinition.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EndpointScheduleActionArgs].
*/
@PulumiTagMarker
public class EndpointScheduleActionArgsBuilder internal constructor() {
private var actionType: Output? = null
private var endpointInvocationDefinition: Output? = null
/**
* @param value
* Expected value is 'InvokeBatchEndpoint'.
*/
@JvmName("vnjtlbpmhitvriul")
public suspend fun actionType(`value`: Output) {
this.actionType = value
}
/**
* @param value [Required] Defines Schedule action definition details.
*
*/
@JvmName("sdpfoqihriphtgxp")
public suspend fun endpointInvocationDefinition(`value`: Output) {
this.endpointInvocationDefinition = value
}
/**
* @param value
* Expected value is 'InvokeBatchEndpoint'.
*/
@JvmName("dqtbvhnchrboluge")
public suspend fun actionType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.actionType = mapped
}
/**
* @param value [Required] Defines Schedule action definition details.
*
*/
@JvmName("agadrkxdkribjirg")
public suspend fun endpointInvocationDefinition(`value`: Any) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.endpointInvocationDefinition = mapped
}
internal fun build(): EndpointScheduleActionArgs = EndpointScheduleActionArgs(
actionType = actionType ?: throw PulumiNullFieldException("actionType"),
endpointInvocationDefinition = endpointInvocationDefinition ?: throw
PulumiNullFieldException("endpointInvocationDefinition"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy