Class SshPublicKeyName (2.12.0)

public class SshPublicKeyName implements ResourceName

Inheritance

Object > SshPublicKeyName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String user, String fingerprint)

public static String format(String user, String fingerprint)
Parameters
NameDescription
userString
fingerprintString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String user, String fingerprint)

public static SshPublicKeyName of(String user, String fingerprint)
Parameters
NameDescription
userString
fingerprintString
Returns
TypeDescription
SshPublicKeyName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<SshPublicKeyName> values)

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

Constructors

SshPublicKeyName()

protected SshPublicKeyName()

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>

getFingerprint()

public String getFingerprint()
Returns
TypeDescription
String

getUser()

public String getUser()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides