Package com.cloudera.cdp.datahub.model
Class InstanceGroupRequest
- java.lang.Object
-
- com.cloudera.cdp.datahub.model.InstanceGroupRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-14T10:47:16.679-07:00") public class InstanceGroupRequest extends Object
Configurations for instance group
-
-
Constructor Summary
Constructors Constructor Description InstanceGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<AttachedVolumeRequest>
getAttachedVolumeConfiguration()
Getter for attachedVolumeConfiguration.String
getInstanceGroupName()
Getter for instanceGroupName.String
getInstanceGroupType()
Getter for instanceGroupType.String
getInstanceType()
Getter for instanceType.Integer
getNodeCount()
Getter for nodeCount.List<String>
getRecipeNames()
Getter for recipeNames.String
getRecoveryMode()
Getter for recoveryMode.Integer
getRootVolumeSize()
Getter for rootVolumeSize.List<String>
getSubnetIds()
Getter for subnetIds.VolumeEncryptionRequest
getVolumeEncryption()
Getter for volumeEncryption.int
hashCode()
void
setAttachedVolumeConfiguration(List<AttachedVolumeRequest> attachedVolumeConfiguration)
Setter for attachedVolumeConfiguration.void
setInstanceGroupName(String instanceGroupName)
Setter for instanceGroupName.void
setInstanceGroupType(String instanceGroupType)
Setter for instanceGroupType.void
setInstanceType(String instanceType)
Setter for instanceType.void
setNodeCount(Integer nodeCount)
Setter for nodeCount.void
setRecipeNames(List<String> recipeNames)
Setter for recipeNames.void
setRecoveryMode(String recoveryMode)
Setter for recoveryMode.void
setRootVolumeSize(Integer rootVolumeSize)
Setter for rootVolumeSize.void
setSubnetIds(List<String> subnetIds)
Setter for subnetIds.void
setVolumeEncryption(VolumeEncryptionRequest volumeEncryption)
Setter for volumeEncryption.String
toString()
-
-
-
Method Detail
-
getNodeCount
public Integer getNodeCount()
Getter for nodeCount. Number of instances in the instance group
-
setNodeCount
public void setNodeCount(Integer nodeCount)
Setter for nodeCount. Number of instances in the instance group
-
getInstanceGroupName
public String getInstanceGroupName()
Getter for instanceGroupName. The instance group name.
-
setInstanceGroupName
public void setInstanceGroupName(String instanceGroupName)
Setter for instanceGroupName. The instance group name.
-
getInstanceGroupType
public String getInstanceGroupType()
Getter for instanceGroupType. The instance group type.
-
setInstanceGroupType
public void setInstanceGroupType(String instanceGroupType)
Setter for instanceGroupType. The instance group type.
-
getInstanceType
public String getInstanceType()
Getter for instanceType. The cloud provider specific instance type to be used.
-
setInstanceType
public void setInstanceType(String instanceType)
Setter for instanceType. The cloud provider specific instance type to be used.
-
getAttachedVolumeConfiguration
public List<AttachedVolumeRequest> getAttachedVolumeConfiguration()
Getter for attachedVolumeConfiguration. The attached volume configuration. This does not include root volume.
-
setAttachedVolumeConfiguration
public void setAttachedVolumeConfiguration(List<AttachedVolumeRequest> attachedVolumeConfiguration)
Setter for attachedVolumeConfiguration. The attached volume configuration. This does not include root volume.
-
getRootVolumeSize
public Integer getRootVolumeSize()
Getter for rootVolumeSize. The root volume size.
-
setRootVolumeSize
public void setRootVolumeSize(Integer rootVolumeSize)
Setter for rootVolumeSize. The root volume size.
-
getRecipeNames
public List<String> getRecipeNames()
Getter for recipeNames. The names or CRNs of the recipes that would be applied to the instance group.
-
setRecipeNames
public void setRecipeNames(List<String> recipeNames)
Setter for recipeNames. The names or CRNs of the recipes that would be applied to the instance group.
-
getRecoveryMode
public String getRecoveryMode()
Getter for recoveryMode. Recovery mode for the instance group.
-
setRecoveryMode
public void setRecoveryMode(String recoveryMode)
Setter for recoveryMode. Recovery mode for the instance group.
-
getVolumeEncryption
public VolumeEncryptionRequest getVolumeEncryption()
Getter for volumeEncryption. The volume encryption settings. This setting does not apply to Azure which always encrypts volumes.
-
setVolumeEncryption
public void setVolumeEncryption(VolumeEncryptionRequest volumeEncryption)
Setter for volumeEncryption. The volume encryption settings. This setting does not apply to Azure which always encrypts volumes.
-
getSubnetIds
public List<String> getSubnetIds()
Getter for subnetIds. The list of subnet IDs in case of multi-availability zone setup. Specifying this field overrides the datahub level subnet ID setup for the multi-availability zone configuration.
-
setSubnetIds
public void setSubnetIds(List<String> subnetIds)
Setter for subnetIds. The list of subnet IDs in case of multi-availability zone setup. Specifying this field overrides the datahub level subnet ID setup for the multi-availability zone configuration.
-
-