Class ClusterSize

java.lang.Object
com.cloudera.cdp.dfworkload.model.ClusterSize

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:28.696-07:00") public class ClusterSize extends Object
Cluster scaling parameters.
  • Constructor Details

    • ClusterSize

      public ClusterSize()
  • Method Details

    • getName

      public String getName()
      Getter for name. The name of this Cluster Size.
    • setName

      public void setName(String name)
      Setter for name. The name of this Cluster Size.
    • getCoresPerNode

      public Double getCoresPerNode()
      Getter for coresPerNode. The number of CPU Cores per node (will be truncated to the nearest integer).
    • setCoresPerNode

      public void setCoresPerNode(Double coresPerNode)
      Setter for coresPerNode. The number of CPU Cores per node (will be truncated to the nearest integer).
    • getMemoryLimit

      public Double getMemoryLimit()
      Getter for memoryLimit. The memory limit (will be truncated to the nearest integer).
    • setMemoryLimit

      public void setMemoryLimit(Double memoryLimit)
      Setter for memoryLimit. The memory limit (will be truncated to the nearest integer).
    • getText

      public String getText()
      Getter for text. The text (i.e., the human readable name) for this Cluster Size.
    • setText

      public void setText(String text)
      Setter for text. The text (i.e., the human readable name) for this Cluster Size.
    • getHeapSize

      public Double getHeapSize()
      Getter for heapSize. The heap size.
    • setHeapSize

      public void setHeapSize(Double heapSize)
      Setter for heapSize. The heap size.
    • getEnabled

      public Boolean getEnabled()
      Getter for enabled. Flag to signal whether this ClusterSize is enabled.
    • setEnabled

      public void setEnabled(Boolean enabled)
      Setter for enabled. Flag to signal whether this ClusterSize is enabled.
    • getCustomClusterSizeLimits

      public CustomClusterSizeLimits getCustomClusterSizeLimits()
      Getter for customClusterSizeLimits. Custom cluster size limits.
    • setCustomClusterSizeLimits

      public void setCustomClusterSizeLimits(CustomClusterSizeLimits customClusterSizeLimits)
      Setter for customClusterSizeLimits. Custom cluster size limits.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object