Class UserLabel

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

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

      • UserLabel

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

        public UserLabel​(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 must begin with a lowercase letter, and must contain only lowercase letters, numeric characters, and the following special characters `_-`.
      • 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 must begin with a lowercase letter, and must contain only lowercase letters, numeric characters, and the following special characters `_-`.
      • 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)