Class CfnStream.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnStream.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStream.S3LocationProperty>
- Enclosing interface:
CfnStream.S3LocationProperty
@Stability(Stable)
public static final class CfnStream.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStream.S3LocationProperty>
A builder for
CfnStream.S3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnStream.S3LocationProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnStream.S3LocationProperty.getKey()Sets the value ofCfnStream.S3LocationProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnStream.S3LocationProperty.getBucket()- Parameters:
bucket- The S3 bucket.- Returns:
this
-
key
Sets the value ofCfnStream.S3LocationProperty.getKey()- Parameters:
key- The S3 key.- Returns:
this
-
version
Sets the value ofCfnStream.S3LocationProperty.getVersion()- Parameters:
version- The S3 bucket version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStream.S3LocationProperty>- Returns:
- a new instance of
CfnStream.S3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-