
com.pulumi.gcp.oracledatabase.kotlin.inputs.AutonomousDatabasePropertiesScheduledOperationDetailArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.oracledatabase.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.oracledatabase.inputs.AutonomousDatabasePropertiesScheduledOperationDetailArgs.builder
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
/**
*
* @property dayOfWeek Possible values:
* DAY_OF_WEEK_UNSPECIFIED
* MONDAY
* TUESDAY
* WEDNESDAY
* THURSDAY
* FRIDAY
* SATURDAY
* SUNDAY
* @property startTimes Represents a time of day. The date and time zone are either not significant
* or are specified elsewhere. An API may choose to allow leap seconds. Related
* types are google.type.Date and 'google.protobuf.Timestamp'.
* @property stopTimes Represents a time of day. The date and time zone are either not significant
* or are specified elsewhere. An API may choose to allow leap seconds. Related
* types are google.type.Date and 'google.protobuf.Timestamp'.
*/
public data class AutonomousDatabasePropertiesScheduledOperationDetailArgs(
public val dayOfWeek: Output? = null,
public val startTimes: Output>? = null,
public val stopTimes: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.oracledatabase.inputs.AutonomousDatabasePropertiesScheduledOperationDetailArgs =
com.pulumi.gcp.oracledatabase.inputs.AutonomousDatabasePropertiesScheduledOperationDetailArgs.builder()
.dayOfWeek(dayOfWeek?.applyValue({ args0 -> args0 }))
.startTimes(
startTimes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.stopTimes(
stopTimes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [AutonomousDatabasePropertiesScheduledOperationDetailArgs].
*/
@PulumiTagMarker
public class AutonomousDatabasePropertiesScheduledOperationDetailArgsBuilder internal constructor() {
private var dayOfWeek: Output? = null
private var startTimes:
Output>? = null
private var stopTimes:
Output>? = null
/**
* @param value Possible values:
* DAY_OF_WEEK_UNSPECIFIED
* MONDAY
* TUESDAY
* WEDNESDAY
* THURSDAY
* FRIDAY
* SATURDAY
* SUNDAY
*/
@JvmName("mqmmkepesosfuuvh")
public suspend fun dayOfWeek(`value`: Output) {
this.dayOfWeek = value
}
/**
* @param value Represents a time of day. The date and time zone are either not significant
* or are specified elsewhere. An API may choose to allow leap seconds. Related
* types are google.type.Date and 'google.protobuf.Timestamp'.
*/
@JvmName("kqfyysifbnuydfbn")
public suspend fun startTimes(`value`: Output>) {
this.startTimes = value
}
@JvmName("qnoyxqnxwcpclwpw")
public suspend fun startTimes(vararg values: Output) {
this.startTimes = Output.all(values.asList())
}
/**
* @param values Represents a time of day. The date and time zone are either not significant
* or are specified elsewhere. An API may choose to allow leap seconds. Related
* types are google.type.Date and 'google.protobuf.Timestamp'.
*/
@JvmName("yudmkuogklvwmqym")
public suspend fun startTimes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy