Class CryptoKeyName.Builder (6.74.1)

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
Type Description
CryptoKeyName

getCryptoKey()

public String getCryptoKey()
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 CryptoKeyName.Builder setCryptoKey(String cryptoKey)
Parameter
Name Description
cryptoKey String
Returns
Type Description
CryptoKeyName.Builder

setKeyRing(String keyRing)

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

setLocation(String location)

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

setProject(String project)

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