Class ControlPlaneMachineSetTemplateObjectMeta

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ControlPlaneMachineSetTemplateObjectMeta
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ControlPlaneMachineSetTemplateObjectMetaBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ControlPlaneMachineSetTemplateObjectMeta is a subset of the metav1.ObjectMeta struct. It allows users to specify labels and annotations that will be copied onto Machines created from this template.
    See Also:
    Serialized Form
    • Constructor Detail

      • ControlPlaneMachineSetTemplateObjectMeta

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

        public ControlPlaneMachineSetTemplateObjectMeta​(Map<String,​String> annotations,
                                                        Map<String,​String> labels)
    • Method Detail

      • getAnnotations

        public Map<String,​String> getAnnotations()
        annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
      • setAnnotations

        public void setAnnotations​(Map<String,​String> annotations)
        annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
      • getLabels

        public Map<String,​String> getLabels()
        Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels. This field must contain both the 'machine.openshift.io/cluster-api-machine-role' and 'machine.openshift.io/cluster-api-machine-type' labels, both with a value of 'master'. It must also contain a label with the key 'machine.openshift.io/cluster-api-cluster'.
      • setLabels

        public void setLabels​(Map<String,​String> labels)
        Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels. This field must contain both the 'machine.openshift.io/cluster-api-machine-role' and 'machine.openshift.io/cluster-api-machine-type' labels, both with a value of 'master'. It must also contain a label with the key 'machine.openshift.io/cluster-api-cluster'.
      • getAdditionalProperties

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

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

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