cloudshift.awscdk.dsl.services.iotfleetwise.CfnDecoderManifestObdNetworkInterfacePropertyDsl.kt Maven / Gradle / Ivy
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.iotfleetwise
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk.IResolvable
import software.amazon.awscdk.services.iotfleetwise.CfnDecoderManifest
/**
* 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.iotfleetwise.*;
* ObdNetworkInterfaceProperty obdNetworkInterfaceProperty = ObdNetworkInterfaceProperty.builder()
* .interfaceId("interfaceId")
* .obdInterface(ObdInterfaceProperty.builder()
* .name("name")
* .requestMessageId("requestMessageId")
* // the properties below are optional
* .dtcRequestIntervalSeconds("dtcRequestIntervalSeconds")
* .hasTransmissionEcu("hasTransmissionEcu")
* .obdStandard("obdStandard")
* .pidRequestIntervalSeconds("pidRequestIntervalSeconds")
* .useExtendedIds("useExtendedIds")
* .build())
* .type("type")
* .build();
* ```
*
* [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-decodermanifest-obdnetworkinterface.html)
*/
@CdkDslMarker
public class CfnDecoderManifestObdNetworkInterfacePropertyDsl {
private val cdkBuilder: CfnDecoderManifest.ObdNetworkInterfaceProperty.Builder =
CfnDecoderManifest.ObdNetworkInterfaceProperty.builder()
/**
* @param interfaceId the value to be set.
*/
public fun interfaceId(interfaceId: String) {
cdkBuilder.interfaceId(interfaceId)
}
/**
* @param obdInterface the value to be set.
*/
public fun obdInterface(obdInterface: IResolvable) {
cdkBuilder.obdInterface(obdInterface)
}
/**
* @param obdInterface the value to be set.
*/
public fun obdInterface(obdInterface: CfnDecoderManifest.ObdInterfaceProperty) {
cdkBuilder.obdInterface(obdInterface)
}
/**
* @param type the value to be set.
*/
public fun type(type: String) {
cdkBuilder.type(type)
}
public fun build(): CfnDecoderManifest.ObdNetworkInterfaceProperty = cdkBuilder.build()
}