Class APIResourceReference

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class APIResourceReference
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<APIResourceReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    APIResourceReference is a reference to a Kubernetes resource type that the referrer utilizes.
    See Also:
    Serialized Form
    • Constructor Detail

      • APIResourceReference

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

        public APIResourceReference​(String kind,
                                    String name,
                                    String version)
    • Method Detail

      • getKind

        public String getKind()
        Kind of the referenced resource type.
      • setKind

        public void setKind​(String kind)
        Kind of the referenced resource type.
      • getName

        public String getName()
        Plural name of the referenced resource type (CustomResourceDefinition.Spec.Names[].Plural). Empty string if the referenced resource type is not a custom resource.
      • setName

        public void setName​(String name)
        Plural name of the referenced resource type (CustomResourceDefinition.Spec.Names[].Plural). Empty string if the referenced resource type is not a custom resource.
      • getVersion

        public String getVersion()
        API Version of the referenced resource type.
      • setVersion

        public void setVersion​(String version)
        API Version of the referenced resource type.
      • getAdditionalProperties

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

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

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