@Generated(value="software.amazon.awssdk:codegen") public final class NFSFileShareDefaults extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NFSFileShareDefaults.Builder,NFSFileShareDefaults>
Describes Network File System (NFS) file share default values. Files and folders stored as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that represent files and folders are assigned these default Unix permissions. This operation is only supported for S3 File Gateways.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NFSFileShareDefaults.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NFSFileShareDefaults.Builder |
builder() |
String |
directoryMode()
The Unix directory mode in the form "nnnn".
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fileMode()
The Unix file mode in the form "nnnn".
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Long |
groupId()
The default group ID for the file share (unless the files have another group ID specified).
|
int |
hashCode() |
Long |
ownerId()
The default owner ID for files in the file share (unless the files have another owner ID specified).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NFSFileShareDefaults.Builder> |
serializableBuilderClass() |
NFSFileShareDefaults.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fileMode()
The Unix file mode in the form "nnnn". For example, 0666 represents the default file mode inside the
file share. The default value is 0666.
0666 represents the default file mode
inside the file share. The default value is 0666.public final String directoryMode()
The Unix directory mode in the form "nnnn". For example, 0666 represents the default access mode for
all directories inside the file share. The default value is 0777.
0666 represents the default access
mode for all directories inside the file share. The default value is 0777.public final Long groupId()
The default group ID for the file share (unless the files have another group ID specified). The default value is
nfsnobody.
nfsnobody.public final Long ownerId()
The default owner ID for files in the file share (unless the files have another owner ID specified). The default
value is nfsnobody.
nfsnobody.public NFSFileShareDefaults.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NFSFileShareDefaults.Builder,NFSFileShareDefaults>public static NFSFileShareDefaults.Builder builder()
public static Class<? extends NFSFileShareDefaults.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.