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

io.cloudshiftdev.awscdk.StringConcat.kt Maven / Gradle / Ivy

The newest version!
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package io.cloudshiftdev.awscdk

import io.cloudshiftdev.awscdk.common.CdkObject
import kotlin.Any

/**
 * Converts all fragments to strings and concats those.
 *
 * Drops 'undefined's.
 *
 * Example:
 *
 * ```
 * // The code below shows an example of how to instantiate this type.
 * // The values are placeholders you should change.
 * import io.cloudshiftdev.awscdk.*;
 * StringConcat stringConcat = new StringConcat();
 * ```
 */
public open class StringConcat(
  cdkObject: software.amazon.awscdk.StringConcat,
) : CdkObject(cdkObject),
    IFragmentConcatenator {
  public constructor() : this(software.amazon.awscdk.StringConcat()
  )

  /**
   * Join the fragment on the left and on the right.
   *
   * @param left 
   * @param right 
   */
  public override fun join(left: Any, right: Any): Any = unwrap(this).join(left, right)

  public companion object {
    internal fun wrap(cdkObject: software.amazon.awscdk.StringConcat): StringConcat =
        StringConcat(cdkObject)

    internal fun unwrap(wrapped: StringConcat): software.amazon.awscdk.StringConcat =
        wrapped.cdkObject as software.amazon.awscdk.StringConcat
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy