Class CryptoKeyVersionName (2.5.1)

public class CryptoKeyVersionName implements ResourceName

Inheritance

Object > CryptoKeyVersionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

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

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

isParsableFrom(String formattedString)

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

newBuilder()

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

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

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

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CryptoKeyVersionName> values)

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

Constructors

CryptoKeyVersionName()

protected CryptoKeyVersionName()

Methods

equals(Object o)

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

getCryptoKey()

public String getCryptoKey()
Returns
TypeDescription
String

getCryptoKeyVersion()

public String getCryptoKeyVersion()
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 CryptoKeyVersionName.Builder toBuilder()
Returns
TypeDescription
CryptoKeyVersionName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides