Class EncryptionSpec.Builder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • EncryptionSpec.Builder

        EncryptionSpec.Builder()
    • Method Detail

      • kmsKeyName

         abstract EncryptionSpec.Builder kmsKeyName(String kmsKeyName)

        Setter for kmsKeyName.

        kmsKeyName: Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.