Class CryptoKeyVersionName (6.83.0)

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
Name Description
project String
location String
keyRing String
cryptoKey String
cryptoKeyVersion 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 CryptoKeyVersionName.Builder newBuilder()
Returns
Type Description
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
Name Description
project String
location String
keyRing String
cryptoKey String
cryptoKeyVersion String
Returns
Type Description
CryptoKeyVersionName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<CryptoKeyVersionName> values)

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

Constructors

CryptoKeyVersionName() (deprecated)

protected CryptoKeyVersionName()

Methods

equals(Object o)

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

getCryptoKey()

public String getCryptoKey()
Returns
Type Description
String

getCryptoKeyVersion()

public String getCryptoKeyVersion()
Returns
Type Description
String

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>

getKeyRing()

public String getKeyRing()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides