Class GCPResourceLabel

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<GCPResourceLabelBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class GCPResourceLabel
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<GCPResourceLabelBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    GCPResourceLabel is a label to apply to GCP resources created for the cluster.
    See Also:
    Serialized Form
    • Constructor Detail

      • GCPResourceLabel

        public GCPResourceLabel()
        No args constructor for use in serialization
      • GCPResourceLabel

        public GCPResourceLabel​(String key,
                                String value)
    • Method Detail

      • getKey

        public String getKey()
        key is the key part of the label. A label key can have a maximum of 63 characters and cannot be empty. Label key must begin with a lowercase letter, and must contain only lowercase letters, numeric characters, and the following special characters `_-`. Label key must not have the reserved prefixes `kubernetes-io` and `openshift-io`.
      • setKey

        public void setKey​(String key)
        key is the key part of the label. A label key can have a maximum of 63 characters and cannot be empty. Label key must begin with a lowercase letter, and must contain only lowercase letters, numeric characters, and the following special characters `_-`. Label key must not have the reserved prefixes `kubernetes-io` and `openshift-io`.
      • getValue

        public String getValue()
        value is the value part of the label. A label value can have a maximum of 63 characters and cannot be empty. Value must contain only lowercase letters, numeric characters, and the following special characters `_-`.
      • setValue

        public void setValue​(String value)
        value is the value part of the label. A label value can have a maximum of 63 characters and cannot be empty. Value must contain only lowercase letters, numeric characters, and the following special characters `_-`.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)