Class PosixAccountName (2.2.7)

public class PosixAccountName implements ResourceName

Inheritance

Object > PosixAccountName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String user, String project)

public static String format(String user, String project)
Parameters
NameDescription
userString
projectString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static PosixAccountName.Builder newBuilder()
Returns
TypeDescription
PosixAccountName.Builder

of(String user, String project)

public static PosixAccountName of(String user, String project)
Parameters
NameDescription
userString
projectString
Returns
TypeDescription
PosixAccountName

parse(String formattedString)

public static PosixAccountName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
PosixAccountName

parseList(List<String> formattedStrings)

public static List<PosixAccountName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<PosixAccountName>

toStringList(List<PosixAccountName> values)

public static List<String> toStringList(List<PosixAccountName> values)
Parameter
NameDescription
valuesList<PosixAccountName>
Returns
TypeDescription
List<String>

Constructors

PosixAccountName()

protected PosixAccountName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getProject()

public String getProject()
Returns
TypeDescription
String

getUser()

public String getUser()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public PosixAccountName.Builder toBuilder()
Returns
TypeDescription
PosixAccountName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides