@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HomeDirectoryMapEntry extends Object implements Serializable, Cloneable, StructuredPojo
Represents an object that contains entries and targets for HomeDirectoryMappings
.
The following is an Entry
and Target
pair example for chroot
.
[ { "Entry": "/", "Target": "/bucket_name/home/mydirectory" } ]
Constructor and Description |
---|
HomeDirectoryMapEntry() |
Modifier and Type | Method and Description |
---|---|
HomeDirectoryMapEntry |
clone() |
boolean |
equals(Object obj) |
String |
getEntry()
Represents an entry for
HomeDirectoryMappings . |
String |
getTarget()
Represents the map target that is used in a
HomeDirectoryMapEntry . |
String |
getType()
Specifies the type of mapping.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEntry(String entry)
Represents an entry for
HomeDirectoryMappings . |
void |
setTarget(String target)
Represents the map target that is used in a
HomeDirectoryMapEntry . |
void |
setType(String type)
Specifies the type of mapping.
|
String |
toString()
Returns a string representation of this object.
|
HomeDirectoryMapEntry |
withEntry(String entry)
Represents an entry for
HomeDirectoryMappings . |
HomeDirectoryMapEntry |
withTarget(String target)
Represents the map target that is used in a
HomeDirectoryMapEntry . |
HomeDirectoryMapEntry |
withType(MapType type)
Specifies the type of mapping.
|
HomeDirectoryMapEntry |
withType(String type)
Specifies the type of mapping.
|
public void setEntry(String entry)
Represents an entry for HomeDirectoryMappings
.
entry
- Represents an entry for HomeDirectoryMappings
.public String getEntry()
Represents an entry for HomeDirectoryMappings
.
HomeDirectoryMappings
.public HomeDirectoryMapEntry withEntry(String entry)
Represents an entry for HomeDirectoryMappings
.
entry
- Represents an entry for HomeDirectoryMappings
.public void setTarget(String target)
Represents the map target that is used in a HomeDirectoryMapEntry
.
target
- Represents the map target that is used in a HomeDirectoryMapEntry
.public String getTarget()
Represents the map target that is used in a HomeDirectoryMapEntry
.
HomeDirectoryMapEntry
.public HomeDirectoryMapEntry withTarget(String target)
Represents the map target that is used in a HomeDirectoryMapEntry
.
target
- Represents the map target that is used in a HomeDirectoryMapEntry
.public void setType(String type)
Specifies the type of mapping. Set the type to FILE
if you want the mapping to point to a file, or
DIRECTORY
for the directory to point to a directory.
By default, home directory mappings have a Type
of DIRECTORY
when you create a Transfer
Family server. You would need to explicitly set Type
to FILE
if you want a mapping to
have a file target.
type
- Specifies the type of mapping. Set the type to FILE
if you want the mapping to point to a
file, or DIRECTORY
for the directory to point to a directory.
By default, home directory mappings have a Type
of DIRECTORY
when you create a
Transfer Family server. You would need to explicitly set Type
to FILE
if you
want a mapping to have a file target.
MapType
public String getType()
Specifies the type of mapping. Set the type to FILE
if you want the mapping to point to a file, or
DIRECTORY
for the directory to point to a directory.
By default, home directory mappings have a Type
of DIRECTORY
when you create a Transfer
Family server. You would need to explicitly set Type
to FILE
if you want a mapping to
have a file target.
FILE
if you want the mapping to point to a
file, or DIRECTORY
for the directory to point to a directory.
By default, home directory mappings have a Type
of DIRECTORY
when you create a
Transfer Family server. You would need to explicitly set Type
to FILE
if you
want a mapping to have a file target.
MapType
public HomeDirectoryMapEntry withType(String type)
Specifies the type of mapping. Set the type to FILE
if you want the mapping to point to a file, or
DIRECTORY
for the directory to point to a directory.
By default, home directory mappings have a Type
of DIRECTORY
when you create a Transfer
Family server. You would need to explicitly set Type
to FILE
if you want a mapping to
have a file target.
type
- Specifies the type of mapping. Set the type to FILE
if you want the mapping to point to a
file, or DIRECTORY
for the directory to point to a directory.
By default, home directory mappings have a Type
of DIRECTORY
when you create a
Transfer Family server. You would need to explicitly set Type
to FILE
if you
want a mapping to have a file target.
MapType
public HomeDirectoryMapEntry withType(MapType type)
Specifies the type of mapping. Set the type to FILE
if you want the mapping to point to a file, or
DIRECTORY
for the directory to point to a directory.
By default, home directory mappings have a Type
of DIRECTORY
when you create a Transfer
Family server. You would need to explicitly set Type
to FILE
if you want a mapping to
have a file target.
type
- Specifies the type of mapping. Set the type to FILE
if you want the mapping to point to a
file, or DIRECTORY
for the directory to point to a directory.
By default, home directory mappings have a Type
of DIRECTORY
when you create a
Transfer Family server. You would need to explicitly set Type
to FILE
if you
want a mapping to have a file target.
MapType
public String toString()
toString
in class Object
Object.toString()
public HomeDirectoryMapEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.