Class CryptoKeyName (2.19.0)

public class CryptoKeyName extends KeyName

Inheritance

Object > KeyName > CryptoKeyName

Static Methods

format(String project, String location, String keyRing, String cryptoKey)

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

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String keyRing, String cryptoKey)

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

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CryptoKeyName> values)

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

Constructors

CryptoKeyName()

protected CryptoKeyName()

Methods

equals(Object o)

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

getCryptoKey()

public String getCryptoKey()
Returns
TypeDescription
String

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 CryptoKeyName.Builder toBuilder()
Returns
TypeDescription
CryptoKeyName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides