Class CfnStreamProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnStreamProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamProps>
- Enclosing interface:
CfnStreamProps
@Stability(Stable)
public static final class CfnStreamProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamProps>
A builder for
CfnStreamProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnStreamProps.getDescription()Sets the value ofCfnStreamProps.getFiles()files(IResolvable files) Sets the value ofCfnStreamProps.getFiles()Sets the value ofCfnStreamProps.getRoleArn()Sets the value ofCfnStreamProps.getStreamId()Sets the value ofCfnStreamProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
files
Sets the value ofCfnStreamProps.getFiles()- Parameters:
files- The files to stream. This parameter is required.- Returns:
this
-
files
Sets the value ofCfnStreamProps.getFiles()- Parameters:
files- The files to stream. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnStreamProps.getRoleArn()- Parameters:
roleArn- An IAM role that allows the IoT service principal to access your S3 files. This parameter is required.- Returns:
this
-
streamId
Sets the value ofCfnStreamProps.getStreamId()- Parameters:
streamId- The stream ID. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnStreamProps.getDescription()- Parameters:
description- The description of the stream.- Returns:
this
-
tags
Sets the value ofCfnStreamProps.getTags()- Parameters:
tags- Metadata which can be used to manage streams.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamProps>- Returns:
- a new instance of
CfnStreamProps - Throws:
NullPointerException- if any required attribute was not provided
-