Class CryptoKeyVersionName.Builder
- java.lang.Object
-
- com.google.spanner.admin.database.v1.CryptoKeyVersionName.Builder
-
- Enclosing class:
- CryptoKeyVersionName
public static class CryptoKeyVersionName.Builder extends Object
Builder for projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CryptoKeyVersionNamebuild()StringgetCryptoKey()StringgetCryptoKeyVersion()StringgetKeyRing()StringgetLocation()StringgetProject()CryptoKeyVersionName.BuildersetCryptoKey(String cryptoKey)CryptoKeyVersionName.BuildersetCryptoKeyVersion(String cryptoKeyVersion)CryptoKeyVersionName.BuildersetKeyRing(String keyRing)CryptoKeyVersionName.BuildersetLocation(String location)CryptoKeyVersionName.BuildersetProject(String project)
-
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getKeyRing
public String getKeyRing()
-
getCryptoKey
public String getCryptoKey()
-
getCryptoKeyVersion
public String getCryptoKeyVersion()
-
setProject
public CryptoKeyVersionName.Builder setProject(String project)
-
setLocation
public CryptoKeyVersionName.Builder setLocation(String location)
-
setKeyRing
public CryptoKeyVersionName.Builder setKeyRing(String keyRing)
-
setCryptoKey
public CryptoKeyVersionName.Builder setCryptoKey(String cryptoKey)
-
setCryptoKeyVersion
public CryptoKeyVersionName.Builder setCryptoKeyVersion(String cryptoKeyVersion)
-
build
public CryptoKeyVersionName build()
-
-