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

io.cloudshiftdev.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegrationProps.kt Maven / Gradle / Ivy

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

package io.cloudshiftdev.awscdk.services.devopsguru

import io.cloudshiftdev.awscdk.common.CdkDslMarker
import io.cloudshiftdev.awscdk.common.CdkObject
import io.cloudshiftdev.awscdk.common.CdkObjectWrappers
import kotlin.Unit

/**
 * Properties for defining a `CfnLogAnomalyDetectionIntegration`.
 *
 * Example:
 *
 * ```
 * // The code below shows an example of how to instantiate this type.
 * // The values are placeholders you should change.
 * import io.cloudshiftdev.awscdk.services.devopsguru.*;
 * CfnLogAnomalyDetectionIntegrationProps cfnLogAnomalyDetectionIntegrationProps =
 * CfnLogAnomalyDetectionIntegrationProps.builder().build();
 * ```
 *
 * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-loganomalydetectionintegration.html)
 */
public interface CfnLogAnomalyDetectionIntegrationProps {
  /**
   * A builder for [CfnLogAnomalyDetectionIntegrationProps]
   */
  @CdkDslMarker
  public interface Builder

  private class BuilderImpl : Builder {
    private val cdkBuilder:
        software.amazon.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegrationProps.Builder =
        software.amazon.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegrationProps.builder()

    public fun build():
        software.amazon.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegrationProps =
        cdkBuilder.build()
  }

  private class Wrapper(
    cdkObject: software.amazon.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegrationProps,
  ) : CdkObject(cdkObject),
      CfnLogAnomalyDetectionIntegrationProps

  public companion object {
    public operator fun invoke(block: Builder.() -> Unit = {}):
        CfnLogAnomalyDetectionIntegrationProps {
      val builderImpl = BuilderImpl()
      return Wrapper(builderImpl.apply(block).build())
    }

    internal
        fun wrap(cdkObject: software.amazon.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegrationProps):
        CfnLogAnomalyDetectionIntegrationProps = CdkObjectWrappers.wrap(cdkObject) as?
        CfnLogAnomalyDetectionIntegrationProps ?: Wrapper(cdkObject)

    internal fun unwrap(wrapped: CfnLogAnomalyDetectionIntegrationProps):
        software.amazon.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegrationProps = (wrapped
        as CdkObject).cdkObject as
        software.amazon.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegrationProps
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy