public static class CustomerEncryptionKey.Builder extends Object
Modifier and Type | Method and Description |
---|---|
CustomerEncryptionKey |
build() |
CustomerEncryptionKey.Builder |
clone() |
String |
getKmsKeyName()
The name of the encryption key that is stored in Google Cloud KMS.
|
String |
getRawKey()
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either
encrypt or decrypt this resource.
|
String |
getSha256()
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption
key that protects this resource.
|
CustomerEncryptionKey.Builder |
mergeFrom(CustomerEncryptionKey other) |
CustomerEncryptionKey.Builder |
setKmsKeyName(String kmsKeyName)
The name of the encryption key that is stored in Google Cloud KMS.
|
CustomerEncryptionKey.Builder |
setRawKey(String rawKey)
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either
encrypt or decrypt this resource.
|
CustomerEncryptionKey.Builder |
setSha256(String sha256)
[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption
key that protects this resource.
|
public CustomerEncryptionKey.Builder mergeFrom(CustomerEncryptionKey other)
public String getKmsKeyName()
public CustomerEncryptionKey.Builder setKmsKeyName(String kmsKeyName)
public String getRawKey()
public CustomerEncryptionKey.Builder setRawKey(String rawKey)
public String getSha256()
public CustomerEncryptionKey.Builder setSha256(String sha256)
public CustomerEncryptionKey build()
public CustomerEncryptionKey.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.