![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.batch.kotlin.outputs.GetSchedulingPolicyResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.batch.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property arn Returns the scheduling policy ARN, such as `batch: *us-east-1* : *111122223333* :scheduling-policy/ *HighPriority*` .
* @property fairsharePolicy The fair share policy of the scheduling policy.
*/
public data class GetSchedulingPolicyResult(
public val arn: String? = null,
public val fairsharePolicy: SchedulingPolicyFairsharePolicy? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.batch.outputs.GetSchedulingPolicyResult): GetSchedulingPolicyResult = GetSchedulingPolicyResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
fairsharePolicy = javaType.fairsharePolicy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.batch.kotlin.outputs.SchedulingPolicyFairsharePolicy.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy