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="2025-10-28T14:00:27.700-07:00")
public class InstanceGroup
extends Object
Contains the necessary info for an instance group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter for accelerator.Getter for autoscaling.Getter for ingressRules.Getter for instanceCount.Getter for instanceTier.Getter for instanceType.getName()Getter for name.Getter for rootVolume.inthashCode()voidsetAccelerator(Accelerator accelerator) Setter for accelerator.voidsetAutoscaling(Autoscaling autoscaling) Setter for autoscaling.voidsetIngressRules(List<String> ingressRules) Setter for ingressRules.voidsetInstanceCount(Integer instanceCount) Setter for instanceCount.voidsetInstanceTier(String instanceTier) Setter for instanceTier.voidsetInstanceType(String instanceType) Setter for instanceType.voidSetter for name.voidsetRootVolume(RootVolume rootVolume) Setter for rootVolume.toString()
-
Constructor Details
-
InstanceGroup
public InstanceGroup()
-
-
Method Details
-
getInstanceType
Getter for instanceType. The cloud provider instance type for the node instance. -
setInstanceType
Setter for instanceType. The cloud provider instance type for the node instance. -
getInstanceTier
Getter for instanceTier. The tier of the instance i.e. on-demand/spot. -
setInstanceTier
Setter for instanceTier. The tier of the instance i.e. on-demand/spot. -
getInstanceCount
Getter for instanceCount. The initial number of instance node. -
setInstanceCount
Setter for instanceCount. The initial number of instance node. -
getName
Getter for name. The unique name for the instance or resource group of the workbench. -
setName
Setter for name. The unique name for the instance or resource group of the workbench. -
getIngressRules
Getter for ingressRules. The networking rules for the ingress. -
setIngressRules
Setter for ingressRules. The networking rules for the ingress. -
getRootVolume
Getter for rootVolume. The root volume of the instance. -
setRootVolume
Setter for rootVolume. The root volume of the instance. -
getAutoscaling
Getter for autoscaling. The auto scaling configuration. -
setAutoscaling
Setter for autoscaling. The auto scaling configuration. -
getAccelerator
Getter for accelerator. The accelerator, which refers to the GPU type configuration. -
setAccelerator
Setter for accelerator. The accelerator, which refers to the GPU type configuration. -
equals
-
hashCode
public int hashCode() -
toString
-