Class CfnServer.S3StorageOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.CfnServer.S3StorageOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServer.S3StorageOptionsProperty>
- Enclosing interface:
CfnServer.S3StorageOptionsProperty
@Stability(Stable)
public static final class CfnServer.S3StorageOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServer.S3StorageOptionsProperty>
A builder for
CfnServer.S3StorageOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.directoryListingOptimization
(String directoryListingOptimization) Sets the value ofCfnServer.S3StorageOptionsProperty.getDirectoryListingOptimization()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
directoryListingOptimization
@Stability(Stable) public CfnServer.S3StorageOptionsProperty.Builder directoryListingOptimization(String directoryListingOptimization) Sets the value ofCfnServer.S3StorageOptionsProperty.getDirectoryListingOptimization()
- Parameters:
directoryListingOptimization
- Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default. By default, home directory mappings have aTYPE
ofDIRECTORY
. If you enable this option, you would then need to explicitly set theHomeDirectoryMapEntry
Type
toFILE
if you want a mapping to have a file target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnServer.S3StorageOptionsProperty>
- Returns:
- a new instance of
CfnServer.S3StorageOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-