Class CfnChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelProps>
- Enclosing interface:
CfnChannelProps
@Stability(Stable)
public static final class CfnChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelProps>
A builder for
CfnChannelProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnChannelProps.getDescription()
egressAccessLogs
(IResolvable egressAccessLogs) Sets the value ofCfnChannelProps.getEgressAccessLogs()
egressAccessLogs
(CfnChannel.LogConfigurationProperty egressAccessLogs) Sets the value ofCfnChannelProps.getEgressAccessLogs()
hlsIngest
(IResolvable hlsIngest) Sets the value ofCfnChannelProps.getHlsIngest()
hlsIngest
(CfnChannel.HlsIngestProperty hlsIngest) Sets the value ofCfnChannelProps.getHlsIngest()
Sets the value ofCfnChannelProps.getId()
ingressAccessLogs
(IResolvable ingressAccessLogs) Sets the value ofCfnChannelProps.getIngressAccessLogs()
ingressAccessLogs
(CfnChannel.LogConfigurationProperty ingressAccessLogs) Sets the value ofCfnChannelProps.getIngressAccessLogs()
Sets the value ofCfnChannelProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnChannelProps.getId()
- Parameters:
id
- Unique identifier that you assign to the channel. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnChannelProps.getDescription()
- Parameters:
description
- Any descriptive information that you want to add to the channel for future identification purposes.- Returns:
this
-
egressAccessLogs
Sets the value ofCfnChannelProps.getEgressAccessLogs()
- Parameters:
egressAccessLogs
- Configures egress access logs.- Returns:
this
-
egressAccessLogs
@Stability(Stable) public CfnChannelProps.Builder egressAccessLogs(CfnChannel.LogConfigurationProperty egressAccessLogs) Sets the value ofCfnChannelProps.getEgressAccessLogs()
- Parameters:
egressAccessLogs
- Configures egress access logs.- Returns:
this
-
hlsIngest
Sets the value ofCfnChannelProps.getHlsIngest()
- Parameters:
hlsIngest
- The input URL where the source stream should be sent.- Returns:
this
-
hlsIngest
Sets the value ofCfnChannelProps.getHlsIngest()
- Parameters:
hlsIngest
- The input URL where the source stream should be sent.- Returns:
this
-
ingressAccessLogs
Sets the value ofCfnChannelProps.getIngressAccessLogs()
- Parameters:
ingressAccessLogs
- Configures ingress access logs.- Returns:
this
-
ingressAccessLogs
@Stability(Stable) public CfnChannelProps.Builder ingressAccessLogs(CfnChannel.LogConfigurationProperty ingressAccessLogs) Sets the value ofCfnChannelProps.getIngressAccessLogs()
- Parameters:
ingressAccessLogs
- Configures ingress access logs.- Returns:
this
-
tags
Sets the value ofCfnChannelProps.getTags()
- Parameters:
tags
- The tags to assign to the channel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannelProps>
- Returns:
- a new instance of
CfnChannelProps
- Throws:
NullPointerException
- if any required attribute was not provided
-