Package com.cloudera.cdp.ml.model
Class InstanceGroup
- java.lang.Object
-
- com.cloudera.cdp.ml.model.InstanceGroup
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-27T13:27:52.511-07:00") public class InstanceGroup extends Object
Contains the necessary info for an instance group.
-
-
Constructor Summary
Constructors Constructor Description InstanceGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Autoscaling
getAutoscaling()
Getter for autoscaling.List<String>
getIngressRules()
Getter for ingressRules.Integer
getInstanceCount()
Getter for instanceCount.String
getInstanceTier()
Getter for instanceTier.String
getInstanceType()
Getter for instanceType.String
getName()
Getter for name.RootVolume
getRootVolume()
Getter for rootVolume.int
hashCode()
void
setAutoscaling(Autoscaling autoscaling)
Setter for autoscaling.void
setIngressRules(List<String> ingressRules)
Setter for ingressRules.void
setInstanceCount(Integer instanceCount)
Setter for instanceCount.void
setInstanceTier(String instanceTier)
Setter for instanceTier.void
setInstanceType(String instanceType)
Setter for instanceType.void
setName(String name)
Setter for name.void
setRootVolume(RootVolume rootVolume)
Setter for rootVolume.String
toString()
-
-
-
Method Detail
-
getInstanceType
public String getInstanceType()
Getter for instanceType. The cloud provider instance type for the node instance.
-
setInstanceType
public void setInstanceType(String instanceType)
Setter for instanceType. The cloud provider instance type for the node instance.
-
getInstanceTier
public String getInstanceTier()
Getter for instanceTier. The tier of the instance i.e. on-demand/spot.
-
setInstanceTier
public void setInstanceTier(String instanceTier)
Setter for instanceTier. The tier of the instance i.e. on-demand/spot.
-
getInstanceCount
public Integer getInstanceCount()
Getter for instanceCount. The initial number of instance node.
-
setInstanceCount
public void setInstanceCount(Integer instanceCount)
Setter for instanceCount. The initial number of instance node.
-
getName
public String getName()
Getter for name. The unique name of the instance group.
-
setName
public void setName(String name)
Setter for name. The unique name of the instance group.
-
getIngressRules
public List<String> getIngressRules()
Getter for ingressRules. The networking rules for the ingress.
-
setIngressRules
public void setIngressRules(List<String> ingressRules)
Setter for ingressRules. The networking rules for the ingress.
-
getRootVolume
public RootVolume getRootVolume()
Getter for rootVolume. The root volume of the instance.
-
setRootVolume
public void setRootVolume(RootVolume rootVolume)
Setter for rootVolume. The root volume of the instance.
-
getAutoscaling
public Autoscaling getAutoscaling()
Getter for autoscaling. The auto scaling configuration.
-
setAutoscaling
public void setAutoscaling(Autoscaling autoscaling)
Setter for autoscaling. The auto scaling configuration.
-
-