@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NFSFileShareDefaults extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
NFSFileShareDefaults() |
Modifier and Type | Method and Description |
---|---|
NFSFileShareDefaults |
clone() |
boolean |
equals(Object obj) |
String |
getDirectoryMode()
The Unix directory mode in the form "nnnn".
|
String |
getFileMode()
The Unix file mode in the form "nnnn".
|
Long |
getGroupId()
The default group ID for the file share (unless the files have another group ID specified).
|
Long |
getOwnerId()
The default owner ID for files in the file share (unless the files have another owner ID specified).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDirectoryMode(String directoryMode)
The Unix directory mode in the form "nnnn".
|
void |
setFileMode(String fileMode)
The Unix file mode in the form "nnnn".
|
void |
setGroupId(Long groupId)
The default group ID for the file share (unless the files have another group ID specified).
|
void |
setOwnerId(Long ownerId)
The default owner ID for files in the file share (unless the files have another owner ID specified).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NFSFileShareDefaults |
withDirectoryMode(String directoryMode)
The Unix directory mode in the form "nnnn".
|
NFSFileShareDefaults |
withFileMode(String fileMode)
The Unix file mode in the form "nnnn".
|
NFSFileShareDefaults |
withGroupId(Long groupId)
The default group ID for the file share (unless the files have another group ID specified).
|
NFSFileShareDefaults |
withOwnerId(Long ownerId)
The default owner ID for files in the file share (unless the files have another owner ID specified).
|
public void setFileMode(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.
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 getFileMode()
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 NFSFileShareDefaults withFileMode(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.
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 void setDirectoryMode(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.
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 String getDirectoryMode()
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 NFSFileShareDefaults withDirectoryMode(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.
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 void setGroupId(Long groupId)
The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody.
groupId
- The default group ID for the file share (unless the files have another group ID specified). The default
value is nfsnobody.public Long getGroupId()
The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody.
public NFSFileShareDefaults withGroupId(Long groupId)
The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody.
groupId
- The default group ID for the file share (unless the files have another group ID specified). The default
value is nfsnobody.public void setOwnerId(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.
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 Long getOwnerId()
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 withOwnerId(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.
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 String toString()
toString
in class Object
Object.toString()
public NFSFileShareDefaults clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.