Class CryptoKeyVersionName.Builder (2.46.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
Type Description
CryptoKeyVersionName

getCryptoKey()

public String getCryptoKey()
Returns
Type Description
String

getCryptoKeyVersion()

public String getCryptoKeyVersion()
Returns
Type Description
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

setCryptoKey(String cryptoKey)

public CryptoKeyVersionName.Builder setCryptoKey(String cryptoKey)
Parameter
Name Description
cryptoKey String
Returns
Type Description
CryptoKeyVersionName.Builder

setCryptoKeyVersion(String cryptoKeyVersion)

public CryptoKeyVersionName.Builder setCryptoKeyVersion(String cryptoKeyVersion)
Parameter
Name Description
cryptoKeyVersion String
Returns
Type Description
CryptoKeyVersionName.Builder

setKeyRing(String keyRing)

public CryptoKeyVersionName.Builder setKeyRing(String keyRing)
Parameter
Name Description
keyRing String
Returns
Type Description
CryptoKeyVersionName.Builder

setLocation(String location)

public CryptoKeyVersionName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
CryptoKeyVersionName.Builder

setProject(String project)

public CryptoKeyVersionName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
CryptoKeyVersionName.Builder