Class CfnStreamPropsMixin.StreamFileProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnStreamPropsMixin.StreamFileProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamPropsMixin.StreamFileProperty>
- Enclosing interface:
CfnStreamPropsMixin.StreamFileProperty
@Stability(Stable)
public static final class CfnStreamPropsMixin.StreamFileProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamPropsMixin.StreamFileProperty>
A builder for
CfnStreamPropsMixin.StreamFileProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnStreamPropsMixin.StreamFileProperty.getFileId()s3Location(CfnStreamPropsMixin.S3LocationProperty s3Location) Sets the value ofCfnStreamPropsMixin.StreamFileProperty.getS3Location()s3Location(IResolvable s3Location) Sets the value ofCfnStreamPropsMixin.StreamFileProperty.getS3Location()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileId
Sets the value ofCfnStreamPropsMixin.StreamFileProperty.getFileId()- Parameters:
fileId- The file ID.- Returns:
this
-
s3Location
@Stability(Stable) public CfnStreamPropsMixin.StreamFileProperty.Builder s3Location(IResolvable s3Location) Sets the value ofCfnStreamPropsMixin.StreamFileProperty.getS3Location()- Parameters:
s3Location- The location of the file in S3.- Returns:
this
-
s3Location
@Stability(Stable) public CfnStreamPropsMixin.StreamFileProperty.Builder s3Location(CfnStreamPropsMixin.S3LocationProperty s3Location) Sets the value ofCfnStreamPropsMixin.StreamFileProperty.getS3Location()- Parameters:
s3Location- The location of the file in S3.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamPropsMixin.StreamFileProperty>- Returns:
- a new instance of
CfnStreamPropsMixin.StreamFileProperty - Throws:
NullPointerException- if any required attribute was not provided
-