Class CfnUserPropsMixin.HomeDirectoryMapEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.transfer.mixins.CfnUserPropsMixin.HomeDirectoryMapEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPropsMixin.HomeDirectoryMapEntryProperty>
- Enclosing interface:
CfnUserPropsMixin.HomeDirectoryMapEntryProperty
@Stability(Stable)
public static final class CfnUserPropsMixin.HomeDirectoryMapEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPropsMixin.HomeDirectoryMapEntryProperty>
A builder for
CfnUserPropsMixin.HomeDirectoryMapEntryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUserPropsMixin.HomeDirectoryMapEntryProperty.getEntry()Sets the value ofCfnUserPropsMixin.HomeDirectoryMapEntryProperty.getTarget()Sets the value ofCfnUserPropsMixin.HomeDirectoryMapEntryProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entry
@Stability(Stable) public CfnUserPropsMixin.HomeDirectoryMapEntryProperty.Builder entry(String entry) Sets the value ofCfnUserPropsMixin.HomeDirectoryMapEntryProperty.getEntry()- Parameters:
entry- Represents an entry forHomeDirectoryMappings.- Returns:
this
-
target
@Stability(Stable) public CfnUserPropsMixin.HomeDirectoryMapEntryProperty.Builder target(String target) Sets the value ofCfnUserPropsMixin.HomeDirectoryMapEntryProperty.getTarget()- Parameters:
target- Represents the map target that is used in aHomeDirectoryMapEntry.- Returns:
this
-
type
Sets the value ofCfnUserPropsMixin.HomeDirectoryMapEntryProperty.getType()- Parameters:
type- Specifies the type of mapping. Set the type toFILEif you want the mapping to point to a file, orDIRECTORYfor the directory to point to a directory.By default, home directory mappings have a
TypeofDIRECTORYwhen you create a Transfer Family server. You would need to explicitly setTypetoFILEif you want a mapping to have a file target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPropsMixin.HomeDirectoryMapEntryProperty>- Returns:
- a new instance of
CfnUserPropsMixin.HomeDirectoryMapEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-