Class GCPKMSKeyReference
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.GCPKMSKeyReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GCPKMSKeyReferenceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GCPKMSKeyReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<GCPKMSKeyReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GCPKMSKeyReference gathers required fields for looking up a GCP KMS Key- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GCPKMSKeyReference()No args constructor for use in serializationGCPKMSKeyReference(String keyRing, String location, String name, String projectID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GCPKMSKeyReferenceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetKeyRing()keyRing is the name of the KMS Key Ring which the KMS Key belongs to.StringgetLocation()location is the GCP location in which the Key Ring exists.StringgetName()name is the name of the customer-managed encryption key to be used for disk encryption.StringgetProjectID()projectID is the ID of the Project in which the KMS Key Ring exists.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetKeyRing(String keyRing)keyRing is the name of the KMS Key Ring which the KMS Key belongs to.voidsetLocation(String location)location is the GCP location in which the Key Ring exists.voidsetName(String name)name is the name of the customer-managed encryption key to be used for disk encryption.voidsetProjectID(String projectID)projectID is the ID of the Project in which the KMS Key Ring exists.GCPKMSKeyReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getKeyRing
public String getKeyRing()
keyRing is the name of the KMS Key Ring which the KMS Key belongs to. The value should correspond to an existing KMS key ring and should consist of only alphanumeric characters, hyphens (-) and underscores (_), and be at most 63 characters in length.
-
setKeyRing
public void setKeyRing(String keyRing)
keyRing is the name of the KMS Key Ring which the KMS Key belongs to. The value should correspond to an existing KMS key ring and should consist of only alphanumeric characters, hyphens (-) and underscores (_), and be at most 63 characters in length.
-
getLocation
public String getLocation()
location is the GCP location in which the Key Ring exists. The value must match an existing GCP location, or "global". Defaults to global, if not set.
-
setLocation
public void setLocation(String location)
location is the GCP location in which the Key Ring exists. The value must match an existing GCP location, or "global". Defaults to global, if not set.
-
getName
public String getName()
name is the name of the customer-managed encryption key to be used for disk encryption. The value should correspond to an existing KMS key and should consist of only alphanumeric characters, hyphens (-) and underscores (_), and be at most 63 characters in length.
-
setName
public void setName(String name)
name is the name of the customer-managed encryption key to be used for disk encryption. The value should correspond to an existing KMS key and should consist of only alphanumeric characters, hyphens (-) and underscores (_), and be at most 63 characters in length.
-
getProjectID
public String getProjectID()
projectID is the ID of the Project in which the KMS Key Ring exists. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited.
-
setProjectID
public void setProjectID(String projectID)
projectID is the ID of the Project in which the KMS Key Ring exists. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited.
-
edit
public GCPKMSKeyReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GCPKMSKeyReferenceBuilder>
-
toBuilder
public GCPKMSKeyReferenceBuilder toBuilder()
-
-