Class CryptoKeyVersionName.Builder (2.37.0)

public static class CryptoKeyVersionName.Builder

Builder for projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}.

Inheritance

java.lang.Object > CryptoKeyVersionName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public CryptoKeyVersionName build()
Returns
TypeDescription
CryptoKeyVersionName

getCryptoKey()

public String getCryptoKey()
Returns
TypeDescription
String

getCryptoKeyVersion()

public String getCryptoKeyVersion()
Returns
TypeDescription
String

getKeyRing()

public String getKeyRing()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setCryptoKey(String cryptoKey)

public CryptoKeyVersionName.Builder setCryptoKey(String cryptoKey)
Parameter
NameDescription
cryptoKeyString
Returns
TypeDescription
CryptoKeyVersionName.Builder

setCryptoKeyVersion(String cryptoKeyVersion)

public CryptoKeyVersionName.Builder setCryptoKeyVersion(String cryptoKeyVersion)
Parameter
NameDescription
cryptoKeyVersionString
Returns
TypeDescription
CryptoKeyVersionName.Builder

setKeyRing(String keyRing)

public CryptoKeyVersionName.Builder setKeyRing(String keyRing)
Parameter
NameDescription
keyRingString
Returns
TypeDescription
CryptoKeyVersionName.Builder

setLocation(String location)

public CryptoKeyVersionName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
CryptoKeyVersionName.Builder

setProject(String project)

public CryptoKeyVersionName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
CryptoKeyVersionName.Builder