Class S3LoggingOptions.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.alpha.S3LoggingOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3LoggingOptions>
- Enclosing interface:
S3LoggingOptions
@Stability(Experimental)
public static final class S3LoggingOptions.Builder
extends Object
implements software.amazon.jsii.Builder<S3LoggingOptions>
A builder for
S3LoggingOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofS3LoggingOptions.getBucket()build()Builds the configured instance.Sets the value ofS3LoggingOptions.getKeyPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofS3LoggingOptions.getBucket()- Parameters:
bucket- The S3 bucket where the log files are stored. This parameter is required.- Returns:
this
-
keyPrefix
Sets the value ofS3LoggingOptions.getKeyPrefix()- Parameters:
keyPrefix- The prefix applied to the log file names.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<S3LoggingOptions>- Returns:
- a new instance of
S3LoggingOptions - Throws:
NullPointerException- if any required attribute was not provided
-