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

cloudshift.awscdk.dsl.services.mediaconnect.CfnBridgeBridgeNetworkSourcePropertyDsl.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.mediaconnect

import cloudshift.awscdk.common.CdkDslMarker
import software.amazon.awscdk.services.mediaconnect.CfnBridge
import kotlin.Number
import kotlin.String

/**
 * The source of the bridge.
 *
 * A network source originates at your premises.
 *
 * 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.mediaconnect.*;
 * BridgeNetworkSourceProperty bridgeNetworkSourceProperty = BridgeNetworkSourceProperty.builder()
 * .multicastIp("multicastIp")
 * .name("name")
 * .networkName("networkName")
 * .port(123)
 * .protocol("protocol")
 * .build();
 * ```
 *
 * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-bridge-bridgenetworksource.html)
 */
@CdkDslMarker
public class CfnBridgeBridgeNetworkSourcePropertyDsl {
    private val cdkBuilder: CfnBridge.BridgeNetworkSourceProperty.Builder =
        CfnBridge.BridgeNetworkSourceProperty.builder()

    /**
     * @param multicastIp The network source multicast IP.
     */
    public fun multicastIp(multicastIp: String) {
        cdkBuilder.multicastIp(multicastIp)
    }

    /**
     * @param name The name of the network source.
     * This name is used to reference the source and must be unique among sources in this bridge.
     */
    public fun name(name: String) {
        cdkBuilder.name(name)
    }

    /**
     * @param networkName The network source's gateway network name.
     */
    public fun networkName(networkName: String) {
        cdkBuilder.networkName(networkName)
    }

    /**
     * @param port The network source port.
     */
    public fun port(port: Number) {
        cdkBuilder.port(port)
    }

    /**
     * @param protocol The network source protocol.
     */
    public fun protocol(protocol: String) {
        cdkBuilder.protocol(protocol)
    }

    public fun build(): CfnBridge.BridgeNetworkSourceProperty = cdkBuilder.build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy