Class ZixiPushOutputConfig.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.ZixiPushOutputConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ZixiPushOutputConfig>
- Enclosing interface:
ZixiPushOutputConfig
@Stability(Experimental)
public static final class ZixiPushOutputConfig.Builder
extends Object
implements software.amazon.jsii.Builder<ZixiPushOutputConfig>
A builder for
ZixiPushOutputConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cidrAllowList(List<String> cidrAllowList) Sets the value ofZixiPushOutputConfig.getCidrAllowList()destination(String destination) Sets the value ofZixiPushOutputConfig.getDestination()encryption(StaticKeyEncryption encryption) Sets the value ofZixiPushOutputConfig.getEncryption()maxLatency(Duration maxLatency) Sets the value ofZixiPushOutputConfig.getMaxLatency()Sets the value ofZixiPushOutputConfig.getPort()Sets the value ofZixiPushOutputConfig.getStreamId()vpcInterfaceAttachment(VpcInterfaceConfig vpcInterfaceAttachment) Sets the value ofZixiPushOutputConfig.getVpcInterfaceAttachment()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
Sets the value ofZixiPushOutputConfig.getDestination()- Parameters:
destination- The IP address where you want to send the output. This parameter is required.- Returns:
this
-
maxLatency
Sets the value ofZixiPushOutputConfig.getMaxLatency()- Parameters:
maxLatency- The maximum latency for Zixi-based streams. This parameter is required.- Returns:
this
-
port
Sets the value ofZixiPushOutputConfig.getPort()- Parameters:
port- The port to use when content is distributed to this output. This parameter is required.- Returns:
this
-
streamId
Sets the value ofZixiPushOutputConfig.getStreamId()- Parameters:
streamId- The stream ID that you want to use for this transport. This parameter is required.- Returns:
this
-
cidrAllowList
@Stability(Experimental) public ZixiPushOutputConfig.Builder cidrAllowList(List<String> cidrAllowList) Sets the value ofZixiPushOutputConfig.getCidrAllowList()- Parameters:
cidrAllowList- The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.- Returns:
this
-
encryption
@Stability(Experimental) public ZixiPushOutputConfig.Builder encryption(StaticKeyEncryption encryption) Sets the value ofZixiPushOutputConfig.getEncryption()- Parameters:
encryption- Static key encryption for this output.- Returns:
this
-
vpcInterfaceAttachment
@Stability(Experimental) public ZixiPushOutputConfig.Builder vpcInterfaceAttachment(VpcInterfaceConfig vpcInterfaceAttachment) Sets the value ofZixiPushOutputConfig.getVpcInterfaceAttachment()- Parameters:
vpcInterfaceAttachment- The VPC interface attachment to use for this output.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ZixiPushOutputConfig>- Returns:
- a new instance of
ZixiPushOutputConfig - Throws:
NullPointerException- if any required attribute was not provided
-