Class ServiceResources


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-03T22:29:42.771-07:00")
    public class ServiceResources
    extends Object
    Object to store resources for a CDE service.
    • Constructor Detail

      • ServiceResources

        public ServiceResources()
    • Method Detail

      • getInstanceType

        public String getInstanceType()
        Getter for instanceType. Instance type of the CDE service.
      • setInstanceType

        public void setInstanceType​(String instanceType)
        Setter for instanceType. Instance type of the CDE service.
      • getMinInstances

        public String getMinInstances()
        Getter for minInstances. Minimum Instances for the CDE service.
      • setMinInstances

        public void setMinInstances​(String minInstances)
        Setter for minInstances. Minimum Instances for the CDE service.
      • getMaxInstances

        public String getMaxInstances()
        Getter for maxInstances. Maximum instances for the CDE service.
      • setMaxInstances

        public void setMaxInstances​(String maxInstances)
        Setter for maxInstances. Maximum instances for the CDE service.
      • getInitialInstances

        public String getInitialInstances()
        Getter for initialInstances. Initial instances for the CDE service.
      • setInitialInstances

        public void setInitialInstances​(String initialInstances)
        Setter for initialInstances. Initial instances for the CDE service.
      • getMinSpotInstances

        public String getMinSpotInstances()
        Getter for minSpotInstances. Minimum number of spot instances for the CDE service.
      • setMinSpotInstances

        public void setMinSpotInstances​(String minSpotInstances)
        Setter for minSpotInstances. Minimum number of spot instances for the CDE service.
      • getMaxSpotInstances

        public String getMaxSpotInstances()
        Getter for maxSpotInstances. Maximum Number of Spot instances.
      • setMaxSpotInstances

        public void setMaxSpotInstances​(String maxSpotInstances)
        Setter for maxSpotInstances. Maximum Number of Spot instances.
      • getInitialSpotInstances

        public String getInitialSpotInstances()
        Getter for initialSpotInstances. Initial Spot Instances for the CDE Service.
      • setInitialSpotInstances

        public void setInitialSpotInstances​(String initialSpotInstances)
        Setter for initialSpotInstances. Initial Spot Instances for the CDE Service.
      • getRootVolSize

        public String getRootVolSize()
        Getter for rootVolSize. Root Volume Size.
      • setRootVolSize

        public void setRootVolSize​(String rootVolSize)
        Setter for rootVolSize. Root Volume Size.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object