Class SourceZixiPush.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.SourceZixiPush.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SourceZixiPush>
- Enclosing interface:
SourceZixiPush
@Stability(Experimental)
public static final class SourceZixiPush.Builder
extends Object
implements software.amazon.jsii.Builder<SourceZixiPush>
A builder for
SourceZixiPush-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.decryption(StaticKeyEncryption decryption) Sets the value ofSourceZixiPush.getDecryption()description(String description) Sets the value ofSourceBase.getDescription()flowSourceName(String flowSourceName) Sets the value ofSourceBase.getFlowSourceName()maxLatency(Duration maxLatency) Sets the value ofSourceZixiPush.getMaxLatency()network(NetworkConfiguration network) Sets the value ofSourceZixiPush.getNetwork()Sets the value ofSourceZixiPush.getStreamId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
network
Sets the value ofSourceZixiPush.getNetwork()- Parameters:
network- Defines networking configuration. This parameter is required.- Returns:
this
-
decryption
Sets the value ofSourceZixiPush.getDecryption()- Parameters:
decryption- Decrypt source with static keys.- Returns:
this
-
maxLatency
Sets the value ofSourceZixiPush.getMaxLatency()- Parameters:
maxLatency- The maximum latency in milliseconds for a Zixi-based source.- Returns:
this
-
streamId
Sets the value ofSourceZixiPush.getStreamId()- Parameters:
streamId- The stream ID that you want to use for the transport. This parameter applies only to Zixi-based streams.- Returns:
this
-
description
Sets the value ofSourceBase.getDescription()- Parameters:
description- A description of the source. This description appears only on the MediaConnect console and will not be seen by the end user.- Returns:
this
-
flowSourceName
Sets the value ofSourceBase.getFlowSourceName()- Parameters:
flowSourceName- The name of the source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SourceZixiPush>- Returns:
- a new instance of
SourceZixiPush - Throws:
NullPointerException- if any required attribute was not provided
-