Class ObjectReference

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ObjectReference
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ObjectReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ObjectReference contains enough information to let you inspect or modify the referred object.
    See Also:
    Serialized Form
    • Constructor Detail

      • ObjectReference

        public ObjectReference()
        No args constructor for use in serialization
    • Method Detail

      • getGroup

        public String getGroup()
        group of the referent. The name must contain only lowercase alphanumeric characters, '-' or '.' and start/end with an alphanumeric character. Example: "", "apps", "build.openshift.io", etc.
      • setGroup

        public void setGroup​(String group)
        group of the referent. The name must contain only lowercase alphanumeric characters, '-' or '.' and start/end with an alphanumeric character. Example: "", "apps", "build.openshift.io", etc.
      • getName

        public String getName()
        name of the referent. The name must contain only lowercase alphanumeric characters, '-' or '.' and start/end with an alphanumeric character.
      • setName

        public void setName​(String name)
        name of the referent. The name must contain only lowercase alphanumeric characters, '-' or '.' and start/end with an alphanumeric character.
      • getNamespace

        public String getNamespace()
        namespace of the referent. This value should consist of at most 63 characters, and of only lowercase alphanumeric characters and hyphens, and should start and end with an alphanumeric character.
      • setNamespace

        public void setNamespace​(String namespace)
        namespace of the referent. This value should consist of at most 63 characters, and of only lowercase alphanumeric characters and hyphens, and should start and end with an alphanumeric character.
      • getResource

        public String getResource()
        resource of the referent. This value should consist of at most 63 characters, and of only lowercase alphanumeric characters and hyphens, and should start with an alphabetic character and end with an alphanumeric character. Example: "deployments", "deploymentconfigs", "pods", etc.
      • setResource

        public void setResource​(String resource)
        resource of the referent. This value should consist of at most 63 characters, and of only lowercase alphanumeric characters and hyphens, and should start with an alphabetic character and end with an alphanumeric character. Example: "deployments", "deploymentconfigs", "pods", etc.
      • getAdditionalProperties

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

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

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