Class CfnUser.HomeDirectoryMapEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.CfnUser.HomeDirectoryMapEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUser.HomeDirectoryMapEntryProperty>
- Enclosing interface:
CfnUser.HomeDirectoryMapEntryProperty
@Stability(Stable)
public static final class CfnUser.HomeDirectoryMapEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUser.HomeDirectoryMapEntryProperty>
A builder for
CfnUser.HomeDirectoryMapEntryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUser.HomeDirectoryMapEntryProperty.getEntry()Sets the value ofCfnUser.HomeDirectoryMapEntryProperty.getTarget()Sets the value ofCfnUser.HomeDirectoryMapEntryProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entry
Sets the value ofCfnUser.HomeDirectoryMapEntryProperty.getEntry()- Parameters:
entry- Represents an entry forHomeDirectoryMappings. This parameter is required.- Returns:
this
-
target
Sets the value ofCfnUser.HomeDirectoryMapEntryProperty.getTarget()- Parameters:
target- Represents the map target that is used in aHomeDirectoryMapEntry. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnUser.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<CfnUser.HomeDirectoryMapEntryProperty>- Returns:
- a new instance of
CfnUser.HomeDirectoryMapEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-