Class CfnStreamKeyProps.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.CfnStreamKeyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamKeyProps>
- Enclosing interface:
- CfnStreamKeyProps
@Stability(Stable)
public static final class CfnStreamKeyProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamKeyProps>
A builder for
CfnStreamKeyProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelArn(String channelArn) Sets the value ofCfnStreamKeyProps.getChannelArn()Sets the value ofCfnStreamKeyProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelArn
Sets the value ofCfnStreamKeyProps.getChannelArn()- Parameters:
channelArn- Channel ARN for the stream. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnStreamKeyProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamKeyProps>- Returns:
- a new instance of
CfnStreamKeyProps - Throws:
NullPointerException- if any required attribute was not provided
-