Class CreationInfo
- java.lang.Object
-
- software.amazon.awssdk.services.efs.model.CreationInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CreationInfo.Builder,CreationInfo>
@Generated("software.amazon.awssdk:codegen") public final class CreationInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreationInfo.Builder,CreationInfo>
Required if the
RootDirectory>Pathspecified does not exist. Specifies the POSIX IDs and permissions to apply to the access point'sRootDirectory>Path. If the access point root directory does not exist, EFS creates it with these settings when a client connects to the access point. When specifyingCreationInfo, you must include values for all properties.Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
If you do not provide
CreationInfoand the specifiedRootDirectorydoes not exist, attempts to mount the file system using the access point will fail.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreationInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreationInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongownerGid()Specifies the POSIX group ID to apply to theRootDirectory.LongownerUid()Specifies the POSIX user ID to apply to theRootDirectory.Stringpermissions()Specifies the POSIX permissions to apply to theRootDirectory, in the format of an octal number representing the file's mode bits.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreationInfo.Builder>serializableBuilderClass()CreationInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
ownerUid
public final Long ownerUid()
Specifies the POSIX user ID to apply to the
RootDirectory. Accepts values from 0 to 2^32 (4294967295).- Returns:
- Specifies the POSIX user ID to apply to the
RootDirectory. Accepts values from 0 to 2^32 (4294967295).
-
ownerGid
public final Long ownerGid()
Specifies the POSIX group ID to apply to the
RootDirectory. Accepts values from 0 to 2^32 (4294967295).- Returns:
- Specifies the POSIX group ID to apply to the
RootDirectory. Accepts values from 0 to 2^32 (4294967295).
-
permissions
public final String permissions()
Specifies the POSIX permissions to apply to the
RootDirectory, in the format of an octal number representing the file's mode bits.- Returns:
- Specifies the POSIX permissions to apply to the
RootDirectory, in the format of an octal number representing the file's mode bits.
-
toBuilder
public CreationInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreationInfo.Builder,CreationInfo>
-
builder
public static CreationInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreationInfo.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
-
-