Class CfnSessionLogger.S3LogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnSessionLogger.S3LogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSessionLogger.S3LogConfigurationProperty>
- Enclosing interface:
CfnSessionLogger.S3LogConfigurationProperty
@Stability(Stable)
public static final class CfnSessionLogger.S3LogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSessionLogger.S3LogConfigurationProperty>
A builder for
CfnSessionLogger.S3LogConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSessionLogger.S3LogConfigurationProperty.getBucket()
bucketOwner
(String bucketOwner) Sets the value ofCfnSessionLogger.S3LogConfigurationProperty.getBucketOwner()
build()
Builds the configured instance.folderStructure
(String folderStructure) Sets the value ofCfnSessionLogger.S3LogConfigurationProperty.getFolderStructure()
Sets the value ofCfnSessionLogger.S3LogConfigurationProperty.getKeyPrefix()
logFileFormat
(String logFileFormat) Sets the value ofCfnSessionLogger.S3LogConfigurationProperty.getLogFileFormat()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnSessionLogger.S3LogConfigurationProperty.getBucket()
- Parameters:
bucket
- the value to be set. This parameter is required.- Returns:
this
-
folderStructure
@Stability(Stable) public CfnSessionLogger.S3LogConfigurationProperty.Builder folderStructure(String folderStructure) Sets the value ofCfnSessionLogger.S3LogConfigurationProperty.getFolderStructure()
- Parameters:
folderStructure
- the value to be set. This parameter is required.- Returns:
this
-
logFileFormat
@Stability(Stable) public CfnSessionLogger.S3LogConfigurationProperty.Builder logFileFormat(String logFileFormat) Sets the value ofCfnSessionLogger.S3LogConfigurationProperty.getLogFileFormat()
- Parameters:
logFileFormat
- the value to be set. This parameter is required.- Returns:
this
-
bucketOwner
@Stability(Stable) public CfnSessionLogger.S3LogConfigurationProperty.Builder bucketOwner(String bucketOwner) Sets the value ofCfnSessionLogger.S3LogConfigurationProperty.getBucketOwner()
- Parameters:
bucketOwner
- the value to be set.- Returns:
this
-
keyPrefix
@Stability(Stable) public CfnSessionLogger.S3LogConfigurationProperty.Builder keyPrefix(String keyPrefix) Sets the value ofCfnSessionLogger.S3LogConfigurationProperty.getKeyPrefix()
- Parameters:
keyPrefix
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSessionLogger.S3LogConfigurationProperty>
- Returns:
- a new instance of
CfnSessionLogger.S3LogConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-