@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PosixUser extends Object implements Serializable, Cloneable, StructuredPojo
The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point.
Constructor and Description |
---|
PosixUser() |
Modifier and Type | Method and Description |
---|---|
PosixUser |
clone() |
boolean |
equals(Object obj) |
Long |
getGid()
The POSIX group ID used for all file system operations using this access point.
|
List<Long> |
getSecondaryGids()
Secondary POSIX group IDs used for all file system operations using this access point.
|
Long |
getUid()
The POSIX user ID used for all file system operations using this access point.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGid(Long gid)
The POSIX group ID used for all file system operations using this access point.
|
void |
setSecondaryGids(Collection<Long> secondaryGids)
Secondary POSIX group IDs used for all file system operations using this access point.
|
void |
setUid(Long uid)
The POSIX user ID used for all file system operations using this access point.
|
String |
toString()
Returns a string representation of this object.
|
PosixUser |
withGid(Long gid)
The POSIX group ID used for all file system operations using this access point.
|
PosixUser |
withSecondaryGids(Collection<Long> secondaryGids)
Secondary POSIX group IDs used for all file system operations using this access point.
|
PosixUser |
withSecondaryGids(Long... secondaryGids)
Secondary POSIX group IDs used for all file system operations using this access point.
|
PosixUser |
withUid(Long uid)
The POSIX user ID used for all file system operations using this access point.
|
public void setUid(Long uid)
The POSIX user ID used for all file system operations using this access point.
uid
- The POSIX user ID used for all file system operations using this access point.public Long getUid()
The POSIX user ID used for all file system operations using this access point.
public PosixUser withUid(Long uid)
The POSIX user ID used for all file system operations using this access point.
uid
- The POSIX user ID used for all file system operations using this access point.public void setGid(Long gid)
The POSIX group ID used for all file system operations using this access point.
gid
- The POSIX group ID used for all file system operations using this access point.public Long getGid()
The POSIX group ID used for all file system operations using this access point.
public PosixUser withGid(Long gid)
The POSIX group ID used for all file system operations using this access point.
gid
- The POSIX group ID used for all file system operations using this access point.public List<Long> getSecondaryGids()
Secondary POSIX group IDs used for all file system operations using this access point.
public void setSecondaryGids(Collection<Long> secondaryGids)
Secondary POSIX group IDs used for all file system operations using this access point.
secondaryGids
- Secondary POSIX group IDs used for all file system operations using this access point.public PosixUser withSecondaryGids(Long... secondaryGids)
Secondary POSIX group IDs used for all file system operations using this access point.
NOTE: This method appends the values to the existing list (if any). Use
setSecondaryGids(java.util.Collection)
or withSecondaryGids(java.util.Collection)
if you want
to override the existing values.
secondaryGids
- Secondary POSIX group IDs used for all file system operations using this access point.public PosixUser withSecondaryGids(Collection<Long> secondaryGids)
Secondary POSIX group IDs used for all file system operations using this access point.
secondaryGids
- Secondary POSIX group IDs used for all file system operations using this access point.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.