Class HomeDirectoryMapEntry
- java.lang.Object
-
- software.amazon.awssdk.services.transfer.model.HomeDirectoryMapEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HomeDirectoryMapEntry.Builder,HomeDirectoryMapEntry>
@Generated("software.amazon.awssdk:codegen") public final class HomeDirectoryMapEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HomeDirectoryMapEntry.Builder,HomeDirectoryMapEntry>
Represents an object that contains entries and targets for
HomeDirectoryMappings.The following is an
EntryandTargetpair example forchroot.[ { "Entry": "/", "Target": "/bucket_name/home/mydirectory" } ]- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHomeDirectoryMapEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HomeDirectoryMapEntry.Builderbuilder()Stringentry()Represents an entry forHomeDirectoryMappings.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends HomeDirectoryMapEntry.Builder>serializableBuilderClass()Stringtarget()Represents the map target that is used in aHomeDirectoryMapEntry.HomeDirectoryMapEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.MapTypetype()Specifies the type of mapping.StringtypeAsString()Specifies the type of mapping.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
entry
public final String entry()
Represents an entry for
HomeDirectoryMappings.- Returns:
- Represents an entry for
HomeDirectoryMappings.
-
target
public final String target()
Represents the map target that is used in a
HomeDirectoryMapEntry.- Returns:
- Represents the map target that is used in a
HomeDirectoryMapEntry.
-
type
public final MapType type()
Specifies the type of mapping. Set the type to
FILEif 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.If the service returns an enum value that is not available in the current SDK version,
typewill returnMapType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies the type of mapping. Set the type to
FILEif 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. - See Also:
MapType
-
typeAsString
public final String typeAsString()
Specifies the type of mapping. Set the type to
FILEif 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.If the service returns an enum value that is not available in the current SDK version,
typewill returnMapType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies the type of mapping. Set the type to
FILEif 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. - See Also:
MapType
-
toBuilder
public HomeDirectoryMapEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HomeDirectoryMapEntry.Builder,HomeDirectoryMapEntry>
-
builder
public static HomeDirectoryMapEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends HomeDirectoryMapEntry.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-