Class CfnStreamMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnStreamMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamMixinProps>
- Enclosing interface:
CfnStreamMixinProps
@Stability(Stable)
public static final class CfnStreamMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamMixinProps>
A builder for
CfnStreamMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnStreamMixinProps.getDescription()Sets the value ofCfnStreamMixinProps.getFiles()files(IResolvable files) Sets the value ofCfnStreamMixinProps.getFiles()Sets the value ofCfnStreamMixinProps.getRoleArn()Sets the value ofCfnStreamMixinProps.getStreamId()Sets the value ofCfnStreamMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnStreamMixinProps.getDescription()- Parameters:
description- The description of the stream.- Returns:
this
-
files
Sets the value ofCfnStreamMixinProps.getFiles()- Parameters:
files- The files to stream.- Returns:
this
-
files
Sets the value ofCfnStreamMixinProps.getFiles()- Parameters:
files- The files to stream.- Returns:
this
-
roleArn
Sets the value ofCfnStreamMixinProps.getRoleArn()- Parameters:
roleArn- An IAM role that allows the IoT service principal to access your S3 files.- Returns:
this
-
streamId
Sets the value ofCfnStreamMixinProps.getStreamId()- Parameters:
streamId- The stream ID.- Returns:
this
-
tags
Sets the value ofCfnStreamMixinProps.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<CfnStreamMixinProps>- Returns:
- a new instance of
CfnStreamMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-