com.pulumi.gcp.storage.kotlin.outputs.TransferJobEventStream.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.storage.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property eventStreamExpirationTime Specifies the data and time at which Storage Transfer Service stops listening for events from this stream. After this time, any transfers in progress will complete, but no new transfers are initiated.A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
* @property eventStreamStartTime Specifies the date and time that Storage Transfer Service starts listening for events from this stream. If no start time is specified or start time is in the past, Storage Transfer Service starts listening immediately. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
* @property name Specifies a unique name of the resource such as AWS SQS ARN in the form 'arn:aws:sqs:region:account_id:queue_name', or Pub/Sub subscription resource name in the form 'projects/{project}/subscriptions/{sub}'.
*/
public data class TransferJobEventStream(
public val eventStreamExpirationTime: String? = null,
public val eventStreamStartTime: String? = null,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.storage.outputs.TransferJobEventStream): TransferJobEventStream = TransferJobEventStream(
eventStreamExpirationTime = javaType.eventStreamExpirationTime().map({ args0 ->
args0
}).orElse(null),
eventStreamStartTime = javaType.eventStreamStartTime().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy