Class ClusterSize


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-06-05T15:31:00.597-07:00")
    public class ClusterSize
    extends Object
    Cluster scaling parameters.
    • Constructor Detail

      • ClusterSize

        public ClusterSize()
    • Method Detail

      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object