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

io.burkard.cdk.services.kendra.cfnDataSource.DocumentAttributeTargetProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.kendra.cfnDataSource

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object DocumentAttributeTargetProperty {

  def apply(
    targetDocumentAttributeKey: String,
    targetDocumentAttributeValue: Option[software.amazon.awscdk.services.kendra.CfnDataSource.DocumentAttributeValueProperty] = None,
    targetDocumentAttributeValueDeletion: Option[Boolean] = None
  ): software.amazon.awscdk.services.kendra.CfnDataSource.DocumentAttributeTargetProperty =
    (new software.amazon.awscdk.services.kendra.CfnDataSource.DocumentAttributeTargetProperty.Builder)
      .targetDocumentAttributeKey(targetDocumentAttributeKey)
      .targetDocumentAttributeValue(targetDocumentAttributeValue.orNull)
      .targetDocumentAttributeValueDeletion(targetDocumentAttributeValueDeletion.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy