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