public final class PosixAccount
extends com.google.api.client.json.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 Cloud OS Login API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PosixAccount() |
Modifier and Type | Method and Description |
---|---|
PosixAccount |
clone() |
String |
getAccountId()
Output only.
|
String |
getGecos()
The GECOS (user information) entry for this account.
|
Long |
getGid()
The default group ID.
|
String |
getHomeDirectory()
The path to the home directory for this account.
|
String |
getName()
Output only.
|
String |
getOperatingSystemType()
The operating system type where this account applies.
|
Boolean |
getPrimary()
Only one POSIX account can be marked as primary.
|
String |
getShell()
The path to the logic shell for this account.
|
String |
getSystemId()
System identifier for which account the username or uid applies to.
|
Long |
getUid()
The user ID.
|
String |
getUsername()
The username of the POSIX account.
|
PosixAccount |
set(String fieldName,
Object value) |
PosixAccount |
setAccountId(String accountId)
Output only.
|
PosixAccount |
setGecos(String gecos)
The GECOS (user information) entry for this account.
|
PosixAccount |
setGid(Long gid)
The default group ID.
|
PosixAccount |
setHomeDirectory(String homeDirectory)
The path to the home directory for this account.
|
PosixAccount |
setName(String name)
Output only.
|
PosixAccount |
setOperatingSystemType(String operatingSystemType)
The operating system type where this account applies.
|
PosixAccount |
setPrimary(Boolean primary)
Only one POSIX account can be marked as primary.
|
PosixAccount |
setShell(String shell)
The path to the logic shell for this account.
|
PosixAccount |
setSystemId(String systemId)
System identifier for which account the username or uid applies to.
|
PosixAccount |
setUid(Long uid)
The user ID.
|
PosixAccount |
setUsername(String username)
The username of the POSIX 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 PosixAccount setAccountId(String accountId)
accountId
- accountId or null
for nonepublic String getGecos()
null
for nonepublic PosixAccount setGecos(String gecos)
gecos
- gecos or null
for nonepublic Long getGid()
null
for nonepublic PosixAccount setGid(Long gid)
gid
- gid or null
for nonepublic String getHomeDirectory()
null
for nonepublic PosixAccount setHomeDirectory(String homeDirectory)
homeDirectory
- homeDirectory or null
for nonepublic String getName()
null
for nonepublic PosixAccount setName(String name)
name
- name or null
for nonepublic String getOperatingSystemType()
null
for nonepublic PosixAccount setOperatingSystemType(String operatingSystemType)
operatingSystemType
- operatingSystemType or null
for nonepublic Boolean getPrimary()
null
for nonepublic PosixAccount setPrimary(Boolean primary)
primary
- primary or null
for nonepublic String getShell()
null
for nonepublic PosixAccount setShell(String shell)
shell
- shell or null
for nonepublic String getSystemId()
null
for nonepublic PosixAccount setSystemId(String systemId)
systemId
- systemId or null
for nonepublic Long getUid()
null
for nonepublic PosixAccount setUid(Long uid)
uid
- uid or null
for nonepublic String getUsername()
null
for nonepublic PosixAccount setUsername(String username)
username
- username or null
for nonepublic PosixAccount set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PosixAccount clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.