cloudshift.awscdk.dsl.services.sagemaker.CfnModelBiasJobDefinitionJsonPropertyDsl.kt Maven / Gradle / Ivy
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.sagemaker
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.Boolean
import software.amazon.awscdk.IResolvable
import software.amazon.awscdk.services.sagemaker.CfnModelBiasJobDefinition
/**
* The Json format.
*
* 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.sagemaker.*;
* JsonProperty jsonProperty = JsonProperty.builder()
* .line(false)
* .build();
* ```
*
* [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-json.html)
*/
@CdkDslMarker
public class CfnModelBiasJobDefinitionJsonPropertyDsl {
private val cdkBuilder: CfnModelBiasJobDefinition.JsonProperty.Builder =
CfnModelBiasJobDefinition.JsonProperty.builder()
/**
* @param line A boolean flag indicating if it is JSON line format.
*/
public fun line(line: Boolean) {
cdkBuilder.line(line)
}
/**
* @param line A boolean flag indicating if it is JSON line format.
*/
public fun line(line: IResolvable) {
cdkBuilder.line(line)
}
public fun build(): CfnModelBiasJobDefinition.JsonProperty = cdkBuilder.build()
}