public final class UserPosixAccount extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Admin SDK API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
UserPosixAccount() |
Modifier and Type | Method and Description |
---|---|
UserPosixAccount |
clone() |
String |
getAccountId()
A POSIX account field identifier.
|
String |
getGecos()
The GECOS (user information) for this account.
|
BigInteger |
getGid()
The default group ID.
|
String |
getHomeDirectory()
The path to the home directory for this account.
|
String |
getOperatingSystemType()
The operating system type for this account.
|
Boolean |
getPrimary()
If this is user's primary account within the SystemId.
|
String |
getShell()
The path to the login shell for this account.
|
String |
getSystemId()
System identifier for which account Username or Uid apply to.
|
BigInteger |
getUid()
The POSIX compliant user ID.
|
String |
getUsername()
The username of the account.
|
UserPosixAccount |
set(String fieldName,
Object value) |
UserPosixAccount |
setAccountId(String accountId)
A POSIX account field identifier.
|
UserPosixAccount |
setGecos(String gecos)
The GECOS (user information) for this account.
|
UserPosixAccount |
setGid(BigInteger gid)
The default group ID.
|
UserPosixAccount |
setHomeDirectory(String homeDirectory)
The path to the home directory for this account.
|
UserPosixAccount |
setOperatingSystemType(String operatingSystemType)
The operating system type for this account.
|
UserPosixAccount |
setPrimary(Boolean primary)
If this is user's primary account within the SystemId.
|
UserPosixAccount |
setShell(String shell)
The path to the login shell for this account.
|
UserPosixAccount |
setSystemId(String systemId)
System identifier for which account Username or Uid apply to.
|
UserPosixAccount |
setUid(BigInteger uid)
The POSIX compliant user ID.
|
UserPosixAccount |
setUsername(String username)
The username of the account.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAccountId()
null
for nonepublic UserPosixAccount setAccountId(String accountId)
accountId
- accountId or null
for nonepublic String getGecos()
null
for nonepublic UserPosixAccount setGecos(String gecos)
gecos
- gecos or null
for nonepublic BigInteger getGid()
null
for nonepublic UserPosixAccount setGid(BigInteger gid)
gid
- gid or null
for nonepublic String getHomeDirectory()
null
for nonepublic UserPosixAccount setHomeDirectory(String homeDirectory)
homeDirectory
- homeDirectory or null
for nonepublic String getOperatingSystemType()
null
for nonepublic UserPosixAccount setOperatingSystemType(String operatingSystemType)
operatingSystemType
- operatingSystemType or null
for nonepublic Boolean getPrimary()
null
for nonepublic UserPosixAccount setPrimary(Boolean primary)
primary
- primary or null
for nonepublic String getShell()
null
for nonepublic UserPosixAccount setShell(String shell)
shell
- shell or null
for nonepublic String getSystemId()
null
for nonepublic UserPosixAccount setSystemId(String systemId)
systemId
- systemId or null
for nonepublic BigInteger getUid()
null
for nonepublic UserPosixAccount setUid(BigInteger uid)
uid
- uid or null
for nonepublic String getUsername()
null
for nonepublic UserPosixAccount setUsername(String username)
username
- username or null
for nonepublic UserPosixAccount set(String fieldName, Object value)
set
in class GenericJson
public UserPosixAccount clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.