Class ReservedResources

java.lang.Object
com.exoscale.sdk.model.ReservedResources

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class ReservedResources extends Object
Resources reserved for kube or system components.
  • Field Details

  • Constructor Details

    • ReservedResources

      public ReservedResources()
  • Method Details

    • cpu

      public ReservedResources cpu(String cpu)
    • getCpu

      @Nonnull public String getCpu()
      CPU reservation, e.g., \"200m\"
      Returns:
      cpu
    • setCpu

      public void setCpu(String cpu)
    • memory

      public ReservedResources memory(String memory)
    • getMemory

      @Nullable public String getMemory()
      Memory reservation, e.g., \"512Mi\"
      Returns:
      memory
    • setMemory

      public void setMemory(String memory)
    • ephemeralStorage

      public ReservedResources ephemeralStorage(String ephemeralStorage)
    • getEphemeralStorage

      @Nullable public String getEphemeralStorage()
      Ephemeral storage reservation, e.g., \"1Gi\"
      Returns:
      ephemeralStorage
    • setEphemeralStorage

      public void setEphemeralStorage(String ephemeralStorage)
    • equals

      public boolean equals(Object o)
      Return true if this reserved-resources object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string