Class ResourceClaimSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ResourceClaimSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ResourceClaimSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ResourceClaimSpec defines how a resource is to be allocated.
    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceClaimSpec

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

      • getAllocationMode

        public String getAllocationMode()
        Allocation can start immediately or when a Pod wants to use the resource. "WaitForFirstConsumer" is the default.
      • setAllocationMode

        public void setAllocationMode​(String allocationMode)
        Allocation can start immediately or when a Pod wants to use the resource. "WaitForFirstConsumer" is the default.
      • setParametersRef

        public void setParametersRef​(ResourceClaimParametersReference parametersRef)
        ResourceClaimSpec defines how a resource is to be allocated.
      • getResourceClassName

        public String getResourceClassName()
        ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.
      • setResourceClassName

        public void setResourceClassName​(String resourceClassName)
        ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.
      • getAdditionalProperties

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

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

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