Class MulticastInputSource.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.MulticastInputSource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MulticastInputSource>
- Enclosing interface:
MulticastInputSource
@Stability(Experimental)
public static final class MulticastInputSource.Builder
extends Object
implements software.amazon.jsii.Builder<MulticastInputSource>
A builder for
MulticastInputSource-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofMulticastInputSource.getAddress()build()Builds the configured instance.Sets the value ofMulticastInputSource.getPort()protocol(MulticastProtocol protocol) Sets the value ofMulticastInputSource.getProtocol()Sets the value ofMulticastInputSource.getSourceIp()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
Sets the value ofMulticastInputSource.getAddress()- Parameters:
address- The multicast group address. This parameter is required.- Returns:
this
-
port
Sets the value ofMulticastInputSource.getPort()- Parameters:
port- The multicast port. This parameter is required.- Returns:
this
-
protocol
Sets the value ofMulticastInputSource.getProtocol()- Parameters:
protocol- The transport protocol.- Returns:
this
-
sourceIp
Sets the value ofMulticastInputSource.getSourceIp()- Parameters:
sourceIp- Filter to a specific source IP (source-specific multicast).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MulticastInputSource>- Returns:
- a new instance of
MulticastInputSource - Throws:
NullPointerException- if any required attribute was not provided
-