Class CryptoKeyName.Builder (2.12.0)

public static class CryptoKeyName.Builder

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

Inheritance

java.lang.Object > CryptoKeyName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public CryptoKeyName build()
Returns
TypeDescription
CryptoKeyName

getCryptoKey()

public String getCryptoKey()
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 CryptoKeyName.Builder setCryptoKey(String cryptoKey)
Parameter
NameDescription
cryptoKeyString
Returns
TypeDescription
CryptoKeyName.Builder

setKeyRing(String keyRing)

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

setLocation(String location)

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

setProject(String project)

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