![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceDocumentAttributeValue.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kendra.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property dateValue A date expressed as an ISO 8601 string.
* It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.
* @property longValue A long integer value.
* @property stringListValue A list of strings. The default maximum length or number of strings is 10.
* @property stringValue A string, such as "department".
*/
public data class DataSourceDocumentAttributeValue(
public val dateValue: String? = null,
public val longValue: Int? = null,
public val stringListValue: List? = null,
public val stringValue: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kendra.outputs.DataSourceDocumentAttributeValue): DataSourceDocumentAttributeValue = DataSourceDocumentAttributeValue(
dateValue = javaType.dateValue().map({ args0 -> args0 }).orElse(null),
longValue = javaType.longValue().map({ args0 -> args0 }).orElse(null),
stringListValue = javaType.stringListValue().map({ args0 -> args0 }),
stringValue = javaType.stringValue().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy