Class KeyRingName (2.38.0)

public class KeyRingName extends KeyName

Inheritance

Object > KeyName > KeyRingName

Static Methods

format(String project, String location, String keyRing)

public static String format(String project, String location, String keyRing)
Parameters
NameDescription
projectString
locationString
keyRingString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String keyRing)

public static KeyRingName of(String project, String location, String keyRing)
Parameters
NameDescription
projectString
locationString
keyRingString
Returns
TypeDescription
KeyRingName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<KeyRingName> values)

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

Constructors

KeyRingName() (deprecated)

protected KeyRingName()

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>

getKeyRing()

public String getKeyRing()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides