Class SshPublicKeyName (2.48.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
Name Description
user String
fingerprint String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static SshPublicKeyName.Builder newBuilder()
Returns
Type Description
SshPublicKeyName.Builder

of(String user, String fingerprint)

public static SshPublicKeyName of(String user, String fingerprint)
Parameters
Name Description
user String
fingerprint String
Returns
Type Description
SshPublicKeyName

parse(String formattedString)

public static SshPublicKeyName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
SshPublicKeyName

parseList(List<String> formattedStrings)

public static List<SshPublicKeyName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<SshPublicKeyName>

toStringList(List<SshPublicKeyName> values)

public static List<String> toStringList(List<SshPublicKeyName> values)
Parameter
Name Description
values List<SshPublicKeyName>
Returns
Type Description
List<String>

Constructors

SshPublicKeyName() (deprecated)

protected SshPublicKeyName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getFingerprint()

public String getFingerprint()
Returns
Type Description
String

getUser()

public String getUser()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public SshPublicKeyName.Builder toBuilder()
Returns
Type Description
SshPublicKeyName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides