Class RouterInputProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.RouterInputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RouterInputProps>
- Enclosing interface:
RouterInputProps
@Stability(Experimental)
public static final class RouterInputProps.Builder
extends Object
implements software.amazon.jsii.Builder<RouterInputProps>
A builder for
RouterInputProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(RouterInputConfiguration configuration) Sets the value ofRouterInputProps.getConfiguration()maintenanceConfiguration(MaintenanceConfiguration maintenanceConfiguration) Sets the value ofRouterInputProps.getMaintenanceConfiguration()maximumBitrate(Bitrate maximumBitrate) Sets the value ofRouterInputProps.getMaximumBitrate()regionName(String regionName) Sets the value ofRouterInputProps.getRegionName()routerInputName(String routerInputName) Sets the value ofRouterInputProps.getRouterInputName()routingScope(RoutingScope routingScope) Sets the value ofRouterInputProps.getRoutingScope()Sets the value ofRouterInputProps.getTags()tier(RouterInputTier tier) Sets the value ofRouterInputProps.getTier()transitEncryption(TransitEncryption transitEncryption) Sets the value ofRouterInputProps.getTransitEncryption()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configuration
@Stability(Experimental) public RouterInputProps.Builder configuration(RouterInputConfiguration configuration) Sets the value ofRouterInputProps.getConfiguration()- Parameters:
configuration- Configuration for the Router Input (standard, failover, merge, or MediaConnect flow). This parameter is required.- Returns:
this
-
maximumBitrate
Sets the value ofRouterInputProps.getMaximumBitrate()- Parameters:
maximumBitrate- Maximum bitrate in bits per second that the Router Input can handle. This parameter is required.- Returns:
this
-
routingScope
Sets the value ofRouterInputProps.getRoutingScope()- Parameters:
routingScope- Routing scope for the Router Input. This parameter is required.- Returns:
this
-
maintenanceConfiguration
@Stability(Experimental) public RouterInputProps.Builder maintenanceConfiguration(MaintenanceConfiguration maintenanceConfiguration) Sets the value ofRouterInputProps.getMaintenanceConfiguration()- Parameters:
maintenanceConfiguration- Maintenance window configuration.- Returns:
this
-
regionName
Sets the value ofRouterInputProps.getRegionName()- Parameters:
regionName- AWS region where the Router Input will be created (i.e. us-east-1). Must match the region of the flows, flow outputs, and network interfaces it connects to — MediaConnect rejects a cross-region connection at deploy.- Returns:
this
-
routerInputName
Sets the value ofRouterInputProps.getRouterInputName()- Parameters:
routerInputName- Name of the Router Input.- Returns:
this
-
tags
Sets the value ofRouterInputProps.getTags()- Parameters:
tags- Tags to add to the Router Input.- Returns:
this
-
tier
Sets the value ofRouterInputProps.getTier()- Parameters:
tier- Select a tier based on your maximum bitrate requirements.- Returns:
this
-
transitEncryption
@Stability(Experimental) public RouterInputProps.Builder transitEncryption(TransitEncryption transitEncryption) Sets the value ofRouterInputProps.getTransitEncryption()- Parameters:
transitEncryption- Transit encryption configuration using AWS Secrets Manager. When provided without a role, a scoped IAM role is automatically created with read access to the secret.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RouterInputProps>- Returns:
- a new instance of
RouterInputProps - Throws:
NullPointerException- if any required attribute was not provided
-