Class CreateDatabaseRequest

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.282-07:00") public class CreateDatabaseRequest extends Object
A request to create the database
  • Constructor Details

    • CreateDatabaseRequest

      public CreateDatabaseRequest()
  • Method Details

    • getEnvironmentName

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

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

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

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

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

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

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

      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

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

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

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

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

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

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

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

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

      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

      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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      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

      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

      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

      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

      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

      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.
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object