Class CfnStreamProcessor.S3DestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rekognition.CfnStreamProcessor.S3DestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamProcessor.S3DestinationProperty>
- Enclosing interface:
CfnStreamProcessor.S3DestinationProperty
@Stability(Stable)
public static final class CfnStreamProcessor.S3DestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamProcessor.S3DestinationProperty>
A builder for
CfnStreamProcessor.S3DestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnStreamProcessor.S3DestinationProperty.getBucketName()build()Builds the configured instance.objectKeyPrefix(String objectKeyPrefix) Sets the value ofCfnStreamProcessor.S3DestinationProperty.getObjectKeyPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnStreamProcessor.S3DestinationProperty.Builder bucketName(String bucketName) Sets the value ofCfnStreamProcessor.S3DestinationProperty.getBucketName()- Parameters:
bucketName- Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name of a stream processor's exports. This parameter is required.- Returns:
this
-
objectKeyPrefix
@Stability(Stable) public CfnStreamProcessor.S3DestinationProperty.Builder objectKeyPrefix(String objectKeyPrefix) Sets the value ofCfnStreamProcessor.S3DestinationProperty.getObjectKeyPrefix()- Parameters:
objectKeyPrefix- Describes the destination Amazon Simple Storage Service (Amazon S3) object keys of a stream processor's exports.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamProcessor.S3DestinationProperty>- Returns:
- a new instance of
CfnStreamProcessor.S3DestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-