Class CreateDatabaseRequest

java.lang.Object
com.cloudera.cdp.opdb.model.CreateDatabaseRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2025-05-14T11:34:36.573-07:00") public class CreateDatabaseRequest extends Object
A request to create the database
  • Constructor Details Link icon

    • CreateDatabaseRequest Link icon

      public CreateDatabaseRequest()
  • Method Details Link icon

    • getEnvironmentName Link icon

      public String getEnvironmentName()
      Getter for environmentName. environment name
    • setEnvironmentName Link icon

      public void setEnvironmentName(String environmentName)
      Setter for environmentName. environment name
    • getDatabaseName Link icon

      public String getDatabaseName()
      Getter for databaseName. database name
    • setDatabaseName Link icon

      public void setDatabaseName(String databaseName)
      Setter for databaseName. database name
    • getAutoScalingParameters Link icon

      public AutoScalingParameters getAutoScalingParameters()
      Getter for autoScalingParameters. Parameters to configure the AutoScaling
    • setAutoScalingParameters Link icon

      public void setAutoScalingParameters(AutoScalingParameters autoScalingParameters)
      Setter for autoScalingParameters. Parameters to configure the AutoScaling
    • getSubnetId Link icon

      public String getSubnetId()
      Getter for subnetId. Override subnet where the database will be deployed. Disables Multi-AZ if set [only for AWS].
    • setSubnetId Link icon

      public void setSubnetId(String subnetId)
      Setter for subnetId. Override subnet where the database will be deployed. Disables Multi-AZ if set [only for AWS].
    • getCustomUserTags Link icon

      public List<KeyValuePair> getCustomUserTags()
      Getter for customUserTags. Optional tags to apply to launched infrastructure resources
    • setCustomUserTags Link icon

      public void setCustomUserTags(List<KeyValuePair> customUserTags)
      Setter for customUserTags. Optional tags to apply to launched infrastructure resources
    • getDisableMultiAz Link icon

      public Boolean getDisableMultiAz()
      Getter for disableMultiAz. Disable deployment into multiple availability-zones (the database will be deployed into one subnet).
    • setDisableMultiAz Link icon

      public void setDisableMultiAz(Boolean disableMultiAz)
      Setter for disableMultiAz. Disable deployment into multiple availability-zones (the database will be deployed into one subnet).
    • getAttachedStorageForWorkers Link icon

      public AttachedStorageForWorkers getAttachedStorageForWorkers()
      Getter for attachedStorageForWorkers. Attached storage for the worker nodes for AWS, Azure, and GCP cloud providers.
    • setAttachedStorageForWorkers Link icon

      public void setAttachedStorageForWorkers(AttachedStorageForWorkers attachedStorageForWorkers)
      Setter for attachedStorageForWorkers. Attached storage for the worker nodes for AWS, Azure, and GCP cloud providers.
    • getDisableKerberos Link icon

      public Boolean getDisableKerberos()
      Getter for disableKerberos. Disable Kerberos authentication.
    • setDisableKerberos Link icon

      public void setDisableKerberos(Boolean disableKerberos)
      Setter for disableKerberos. Disable Kerberos authentication.
    • getNumEdgeNodes Link icon

      public Integer getNumEdgeNodes()
      Getter for numEdgeNodes. Number of edge nodes to be created for the database. A positive, non-zero number is required. The default value is 0.
    • setNumEdgeNodes Link icon

      public void setNumEdgeNodes(Integer numEdgeNodes)
      Setter for numEdgeNodes. Number of edge nodes to be created for the database. A positive, non-zero number is required. The default value is 0.
    • getImage Link icon

      public Image getImage()
      Getter for image. Image details for the database.
    • setImage Link icon

      public void setImage(Image image)
      Setter for image. Image details for the database.
    • getDisableJwtAuth Link icon

      public Boolean getDisableJwtAuth()
      Getter for disableJwtAuth. Disable OAuth Bearer (JWT) authentication scheme.
    • setDisableJwtAuth Link icon

      public void setDisableJwtAuth(Boolean disableJwtAuth)
      Setter for disableJwtAuth. Disable OAuth Bearer (JWT) authentication scheme.
    • getEnableRegionCanary Link icon

      public Boolean getEnableRegionCanary()
      Getter for enableRegionCanary. To enable the region canary for the database.
    • setEnableRegionCanary Link icon

      public void setEnableRegionCanary(Boolean enableRegionCanary)
      Setter for enableRegionCanary. To enable the region canary for the database.
    • getScaleType Link icon

      public String getScaleType()
      Getter for scaleType. Optional tags to choose one of the predefined cluster sizes.
    • setScaleType Link icon

      public void setScaleType(String scaleType)
      Setter for scaleType. Optional tags to choose one of the predefined cluster sizes.
    • getStorageType Link icon

      public String getStorageType()
      Getter for storageType. Optional tag to choose the storage types.
    • setStorageType Link icon

      public void setStorageType(String storageType)
      Setter for storageType. Optional tag to choose the storage types.
    • getRecipes Link icon

      public List<CustomRecipe> getRecipes()
      Getter for recipes. Custom recipes for the database.
    • setRecipes Link icon

      public void setRecipes(List<CustomRecipe> recipes)
      Setter for recipes. Custom recipes for the database.
    • getEnableGrafana Link icon

      public Boolean getEnableGrafana()
      Getter for enableGrafana. To enable grafana server for the database.
    • setEnableGrafana Link icon

      public void setEnableGrafana(Boolean enableGrafana)
      Setter for enableGrafana. To enable grafana server for the database.
    • getRootVolumeSize Link icon

      public Integer getRootVolumeSize()
      Getter for rootVolumeSize. Root volume size in GiB.
    • setRootVolumeSize Link icon

      public void setRootVolumeSize(Integer rootVolumeSize)
      Setter for rootVolumeSize. Root volume size in GiB.
    • getVolumeEncryptions Link icon

      public List<VolumeEncryption> getVolumeEncryptions()
      Getter for volumeEncryptions. Specifies encryption key to encrypt volume for instance group. It is currently supported for AWS cloud provider only.
    • setVolumeEncryptions Link icon

      public void setVolumeEncryptions(List<VolumeEncryption> volumeEncryptions)
      Setter for volumeEncryptions. Specifies encryption key to encrypt volume for instance group. It is currently supported for AWS cloud provider only.
    • getGatewayNodesCount Link icon

      public Integer getGatewayNodesCount()
      Getter for gatewayNodesCount. Number of gateway nodes to be created for the database. When multiple gateway nodes are present Knox works in HA mode. A positive, non-zero number is required. The default value is 1. Requires the COD_RESTWORKERS entitlement.
    • setGatewayNodesCount Link icon

      public void setGatewayNodesCount(Integer gatewayNodesCount)
      Setter for gatewayNodesCount. Number of gateway nodes to be created for the database. When multiple gateway nodes are present Knox works in HA mode. A positive, non-zero number is required. The default value is 1. Requires the COD_RESTWORKERS entitlement.
    • getRestworkerNodesCount Link icon

      public Integer getRestworkerNodesCount()
      Getter for restworkerNodesCount. Number of REST Worker nodes to be created for the database. A positive, non-zero number is required. The default value is 0. Requires the COD_RESTWORKERS entitlement.
    • setRestworkerNodesCount Link icon

      public void setRestworkerNodesCount(Integer restworkerNodesCount)
      Setter for restworkerNodesCount. Number of REST Worker nodes to be created for the database. A positive, non-zero number is required. The default value is 0. Requires the COD_RESTWORKERS entitlement.
    • getArchitecture Link icon

      public String getArchitecture()
      Getter for architecture. Specifies the Architecture of the cluster nodes.
    • setArchitecture Link icon

      public void setArchitecture(String architecture)
      Setter for architecture. Specifies the Architecture of the cluster nodes.
    • getCustomInstanceTypes Link icon

      public CustomInstanceTypes getCustomInstanceTypes()
      Getter for customInstanceTypes. Provide custom VM instance types for master, worker, gateway, leader, edge and compute groups.
    • setCustomInstanceTypes Link icon

      public void setCustomInstanceTypes(CustomInstanceTypes customInstanceTypes)
      Setter for customInstanceTypes. Provide custom VM instance types for master, worker, gateway, leader, edge and compute groups.
    • equals Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object