@Generated(value="software.amazon.awssdk:codegen") public class NFSFileShareDefaults extends Object implements StructuredPojo, ToCopyableBuilder<NFSFileShareDefaults.Builder,NFSFileShareDefaults>
Describes 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 in the file gateway architecture.
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) |
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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Long |
ownerId()
The default owner ID for files in the file share (unless the files have another owner ID specified).
|
static Class<? extends NFSFileShareDefaults.Builder> |
serializableBuilderClass() |
NFSFileShareDefaults.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
public 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.
public Long groupId()
The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody.
public 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.
public NFSFileShareDefaults.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NFSFileShareDefaults.Builder,NFSFileShareDefaults>
public static NFSFileShareDefaults.Builder builder()
public static Class<? extends NFSFileShareDefaults.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.