Class CfnSignalingChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisvideo.CfnSignalingChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSignalingChannelProps>
- Enclosing interface:
- CfnSignalingChannelProps
@Stability(Stable)
public static final class CfnSignalingChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSignalingChannelProps>
A builder for
CfnSignalingChannelProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.messageTtlSeconds(Number messageTtlSeconds) Sets the value ofCfnSignalingChannelProps.getMessageTtlSeconds()Sets the value ofCfnSignalingChannelProps.getName()Sets the value ofCfnSignalingChannelProps.getTags()Sets the value ofCfnSignalingChannelProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
messageTtlSeconds
@Stability(Stable) public CfnSignalingChannelProps.Builder messageTtlSeconds(Number messageTtlSeconds) Sets the value ofCfnSignalingChannelProps.getMessageTtlSeconds()- Parameters:
messageTtlSeconds- The period of time a signaling channel retains undelivered messages before they are discarded.- Returns:
this
-
name
Sets the value ofCfnSignalingChannelProps.getName()- Parameters:
name- A name for the signaling channel that you are creating. It must be unique for each AWS account and AWS Region .- Returns:
this
-
tags
Sets the value ofCfnSignalingChannelProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
type
Sets the value ofCfnSignalingChannelProps.getType()- Parameters:
type- A type of the signaling channel that you are creating. Currently,SINGLE_MASTERis the only supported channel type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSignalingChannelProps>- Returns:
- a new instance of
CfnSignalingChannelProps - Throws:
NullPointerException- if any required attribute was not provided
-