Class CfnSessionLoggerPropsMixin.S3LogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesweb.CfnSessionLoggerPropsMixin.S3LogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSessionLoggerPropsMixin.S3LogConfigurationProperty>
- Enclosing interface:
CfnSessionLoggerPropsMixin.S3LogConfigurationProperty
@Stability(Stable)
public static final class CfnSessionLoggerPropsMixin.S3LogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSessionLoggerPropsMixin.S3LogConfigurationProperty>
A builder for
CfnSessionLoggerPropsMixin.S3LogConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSessionLoggerPropsMixin.S3LogConfigurationProperty.getBucket()bucketOwner(String bucketOwner) Sets the value ofCfnSessionLoggerPropsMixin.S3LogConfigurationProperty.getBucketOwner()build()Builds the configured instance.folderStructure(String folderStructure) Sets the value ofCfnSessionLoggerPropsMixin.S3LogConfigurationProperty.getKeyPrefix()logFileFormat(String logFileFormat) Sets the value ofCfnSessionLoggerPropsMixin.S3LogConfigurationProperty.getLogFileFormat()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnSessionLoggerPropsMixin.S3LogConfigurationProperty.Builder bucket(String bucket) Sets the value ofCfnSessionLoggerPropsMixin.S3LogConfigurationProperty.getBucket()- Parameters:
bucket- The S3 bucket name where logs are delivered.- Returns:
this
-
bucketOwner
@Stability(Stable) public CfnSessionLoggerPropsMixin.S3LogConfigurationProperty.Builder bucketOwner(String bucketOwner) Sets the value ofCfnSessionLoggerPropsMixin.S3LogConfigurationProperty.getBucketOwner()- Parameters:
bucketOwner- The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.- Returns:
this
-
folderStructure
@Stability(Stable) public CfnSessionLoggerPropsMixin.S3LogConfigurationProperty.Builder folderStructure(String folderStructure) - Parameters:
folderStructure- The folder structure that defines the organizational structure for log files in S3.- Returns:
this
-
keyPrefix
@Stability(Stable) public CfnSessionLoggerPropsMixin.S3LogConfigurationProperty.Builder keyPrefix(String keyPrefix) Sets the value ofCfnSessionLoggerPropsMixin.S3LogConfigurationProperty.getKeyPrefix()- Parameters:
keyPrefix- The S3 path prefix that determines where log files are stored.- Returns:
this
-
logFileFormat
@Stability(Stable) public CfnSessionLoggerPropsMixin.S3LogConfigurationProperty.Builder logFileFormat(String logFileFormat) Sets the value ofCfnSessionLoggerPropsMixin.S3LogConfigurationProperty.getLogFileFormat()- Parameters:
logFileFormat- The format of the LogFile that is written to S3.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSessionLoggerPropsMixin.S3LogConfigurationProperty>- Returns:
- a new instance of
CfnSessionLoggerPropsMixin.S3LogConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-