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

cloudshift.awscdk.dsl.services.appmesh.HealthCheckBindOptionsDsl.kt Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package cloudshift.awscdk.dsl.services.appmesh

import cloudshift.awscdk.common.CdkDslMarker
import kotlin.Number
import software.amazon.awscdk.services.appmesh.HealthCheckBindOptions

/**
 * Options used for creating the Health Check object.
 *
 * Example:
 *
 * ```
 * // The code below shows an example of how to instantiate this type.
 * // The values are placeholders you should change.
 * import software.amazon.awscdk.services.appmesh.*;
 * HealthCheckBindOptions healthCheckBindOptions = HealthCheckBindOptions.builder()
 * .defaultPort(123)
 * .build();
 * ```
 */
@CdkDslMarker
public class HealthCheckBindOptionsDsl {
  private val cdkBuilder: HealthCheckBindOptions.Builder = HealthCheckBindOptions.builder()

  /**
   * @param defaultPort Port for Health Check interface.
   */
  public fun defaultPort(defaultPort: Number) {
    cdkBuilder.defaultPort(defaultPort)
  }

  public fun build(): HealthCheckBindOptions = cdkBuilder.build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy