All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.customerprofiles.kotlin.outputs.IntegrationScheduledTriggerProperties.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.customerprofiles.kotlin.outputs

import com.pulumi.awsnative.customerprofiles.kotlin.enums.IntegrationScheduledTriggerPropertiesDataPullMode
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property dataPullMode Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.
 * @property firstExecutionFrom Specifies the date range for the records to import from the connector in the first flow run.
 * @property scheduleEndTime Specifies the scheduled end time for a scheduled-trigger flow.
 * @property scheduleExpression The scheduling expression that determines the rate at which the schedule will run, for example rate (5 minutes).
 * @property scheduleOffset Specifies the optional offset that is added to the time interval for a schedule-triggered flow.
 * @property scheduleStartTime Specifies the scheduled start time for a scheduled-trigger flow.
 * @property timezone Specifies the time zone used when referring to the date and time of a scheduled-triggered flow, such as America/New_York.
 */
public data class IntegrationScheduledTriggerProperties(
    public val dataPullMode: IntegrationScheduledTriggerPropertiesDataPullMode? = null,
    public val firstExecutionFrom: Double? = null,
    public val scheduleEndTime: Double? = null,
    public val scheduleExpression: String,
    public val scheduleOffset: Int? = null,
    public val scheduleStartTime: Double? = null,
    public val timezone: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.customerprofiles.outputs.IntegrationScheduledTriggerProperties): IntegrationScheduledTriggerProperties = IntegrationScheduledTriggerProperties(
            dataPullMode = javaType.dataPullMode().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.customerprofiles.kotlin.enums.IntegrationScheduledTriggerPropertiesDataPullMode.Companion.toKotlin(args0)
                })
            }).orElse(null),
            firstExecutionFrom = javaType.firstExecutionFrom().map({ args0 -> args0 }).orElse(null),
            scheduleEndTime = javaType.scheduleEndTime().map({ args0 -> args0 }).orElse(null),
            scheduleExpression = javaType.scheduleExpression(),
            scheduleOffset = javaType.scheduleOffset().map({ args0 -> args0 }).orElse(null),
            scheduleStartTime = javaType.scheduleStartTime().map({ args0 -> args0 }).orElse(null),
            timezone = javaType.timezone().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy