Class PinnedResourceReference

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class PinnedResourceReference
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<PinnedResourceReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    PinnedResourceReference includes the group, version and type of resource
    See Also:
    Serialized Form
    • Constructor Detail

      • PinnedResourceReference

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

        public PinnedResourceReference​(String group,
                                       String resource,
                                       String version)
    • Method Detail

      • getGroup

        public String getGroup()
        group is the API Group of the Resource. Enter empty string for the core group. This value should consist of only lowercase alphanumeric characters, hyphens and periods. Example: "", "apps", "build.openshift.io", etc.
      • setGroup

        public void setGroup​(String group)
        group is the API Group of the Resource. Enter empty string for the core group. This value should consist of only lowercase alphanumeric characters, hyphens and periods. Example: "", "apps", "build.openshift.io", etc.
      • getResource

        public String getResource()
        resource is the type that is being referenced. It is normally the plural form of the resource kind in lowercase. This value should consist of only lowercase alphanumeric characters and hyphens. Example: "deployments", "deploymentconfigs", "pods", etc.
      • setResource

        public void setResource​(String resource)
        resource is the type that is being referenced. It is normally the plural form of the resource kind in lowercase. This value should consist of only lowercase alphanumeric characters and hyphens. Example: "deployments", "deploymentconfigs", "pods", etc.
      • getVersion

        public String getVersion()
        version is the API Version of the Resource. This value should consist of only lowercase alphanumeric characters. Example: "v1", "v1beta1", etc.
      • setVersion

        public void setVersion​(String version)
        version is the API Version of the Resource. This value should consist of only lowercase alphanumeric characters. Example: "v1", "v1beta1", etc.
      • getAdditionalProperties

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

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

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