Class GCPEncryptionKeyReference
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1beta1.GCPEncryptionKeyReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GCPEncryptionKeyReferenceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GCPEncryptionKeyReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<GCPEncryptionKeyReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GCPEncryptionKeyReference describes the encryptionKey to use for a disk's encryption.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GCPEncryptionKeyReference()No args constructor for use in serializationGCPEncryptionKeyReference(GCPKMSKeyReference kmsKey, String kmsKeyServiceAccount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GCPEncryptionKeyReferenceBuilderedit()Map<String,Object>getAdditionalProperties()GCPKMSKeyReferencegetKmsKey()GCPEncryptionKeyReference describes the encryptionKey to use for a disk's encryption.StringgetKmsKeyServiceAccount()kmsKeyServiceAccount is the service account being used for the encryption request for the given KMS key.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetKmsKey(GCPKMSKeyReference kmsKey)GCPEncryptionKeyReference describes the encryptionKey to use for a disk's encryption.voidsetKmsKeyServiceAccount(String kmsKeyServiceAccount)kmsKeyServiceAccount is the service account being used for the encryption request for the given KMS key.GCPEncryptionKeyReferenceBuildertoBuilder()
-
-
-
Constructor Detail
-
GCPEncryptionKeyReference
public GCPEncryptionKeyReference()
No args constructor for use in serialization
-
GCPEncryptionKeyReference
public GCPEncryptionKeyReference(GCPKMSKeyReference kmsKey, String kmsKeyServiceAccount)
-
-
Method Detail
-
getKmsKey
public GCPKMSKeyReference getKmsKey()
GCPEncryptionKeyReference describes the encryptionKey to use for a disk's encryption.
-
setKmsKey
public void setKmsKey(GCPKMSKeyReference kmsKey)
GCPEncryptionKeyReference describes the encryptionKey to use for a disk's encryption.
-
getKmsKeyServiceAccount
public String getKmsKeyServiceAccount()
kmsKeyServiceAccount is the service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. See https://cloud.google.com/compute/docs/access/service-accounts#compute_engine_service_account for details on the default service account.
-
setKmsKeyServiceAccount
public void setKmsKeyServiceAccount(String kmsKeyServiceAccount)
kmsKeyServiceAccount is the service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. See https://cloud.google.com/compute/docs/access/service-accounts#compute_engine_service_account for details on the default service account.
-
edit
public GCPEncryptionKeyReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GCPEncryptionKeyReferenceBuilder>
-
toBuilder
public GCPEncryptionKeyReferenceBuilder toBuilder()
-
-