Package com.cloudera.cdp.opdb.model
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for attachedStorageForWorkers.Getter for autoScalingParameters.Getter for customUserTags.Getter for databaseName.Getter for disableJwtAuth.Getter for disableKerberos.Getter for disableMultiAz.Getter for enableGrafana.Getter for enableRegionCanary.Getter for environmentName.Getter for gatewayNodesCount.getImage()
Getter for image.Getter for numEdgeNodes.Getter for recipes.Getter for restworkerNodesCount.Getter for rootVolumeSize.Getter for scaleType.Getter for storageType.Getter for subnetId.Getter for volumeEncryptions.int
hashCode()
void
setAttachedStorageForWorkers
(AttachedStorageForWorkers attachedStorageForWorkers) Setter for attachedStorageForWorkers.void
setAutoScalingParameters
(AutoScalingParameters autoScalingParameters) Setter for autoScalingParameters.void
setCustomUserTags
(List<KeyValuePair> customUserTags) Setter for customUserTags.void
setDatabaseName
(String databaseName) Setter for databaseName.void
setDisableJwtAuth
(Boolean disableJwtAuth) Setter for disableJwtAuth.void
setDisableKerberos
(Boolean disableKerberos) Setter for disableKerberos.void
setDisableMultiAz
(Boolean disableMultiAz) Setter for disableMultiAz.void
setEnableGrafana
(Boolean enableGrafana) Setter for enableGrafana.void
setEnableRegionCanary
(Boolean enableRegionCanary) Setter for enableRegionCanary.void
setEnvironmentName
(String environmentName) Setter for environmentName.void
setGatewayNodesCount
(Integer gatewayNodesCount) Setter for gatewayNodesCount.void
Setter for image.void
setNumEdgeNodes
(Integer numEdgeNodes) Setter for numEdgeNodes.void
setRecipes
(List<CustomRecipe> recipes) Setter for recipes.void
setRestworkerNodesCount
(Integer restworkerNodesCount) Setter for restworkerNodesCount.void
setRootVolumeSize
(Integer rootVolumeSize) Setter for rootVolumeSize.void
setScaleType
(String scaleType) Setter for scaleType.void
setStorageType
(String storageType) Setter for storageType.void
setSubnetId
(String subnetId) Setter for subnetId.void
setVolumeEncryptions
(List<VolumeEncryption> volumeEncryptions) Setter for volumeEncryptions.toString()
-
Constructor Details
-
CreateDatabaseRequest
public CreateDatabaseRequest()
-
-
Method Details
-
getEnvironmentName
Getter for environmentName. environment name -
setEnvironmentName
Setter for environmentName. environment name -
getDatabaseName
Getter for databaseName. database name -
setDatabaseName
Setter for databaseName. database name -
getAutoScalingParameters
Getter for autoScalingParameters. Parameters to configure the AutoScaling -
setAutoScalingParameters
Setter for autoScalingParameters. Parameters to configure the AutoScaling -
getSubnetId
Getter for subnetId. Override subnet where the database will be deployed. Disables Multi-AZ if set [only for AWS]. -
setSubnetId
Setter for subnetId. Override subnet where the database will be deployed. Disables Multi-AZ if set [only for AWS]. -
getCustomUserTags
Getter for customUserTags. Optional tags to apply to launched infrastructure resources -
setCustomUserTags
Setter for customUserTags. Optional tags to apply to launched infrastructure resources -
getDisableMultiAz
Getter for disableMultiAz. Disable deployment into multiple availability-zones (the database will be deployed into one subnet). -
setDisableMultiAz
Setter for disableMultiAz. Disable deployment into multiple availability-zones (the database will be deployed into one subnet). -
getAttachedStorageForWorkers
Getter for attachedStorageForWorkers. Attached storage for the worker nodes for AWS, Azure, and GCP cloud providers. -
setAttachedStorageForWorkers
Setter for attachedStorageForWorkers. Attached storage for the worker nodes for AWS, Azure, and GCP cloud providers. -
getDisableKerberos
Getter for disableKerberos. Disable Kerberos authentication. -
setDisableKerberos
Setter for disableKerberos. Disable Kerberos authentication. -
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
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
Getter for image. Image details for the database. -
setImage
Setter for image. Image details for the database. -
getDisableJwtAuth
Getter for disableJwtAuth. Disable OAuth Bearer (JWT) authentication scheme. -
setDisableJwtAuth
Setter for disableJwtAuth. Disable OAuth Bearer (JWT) authentication scheme. -
getEnableRegionCanary
Getter for enableRegionCanary. To enable the region canary for the database. -
setEnableRegionCanary
Setter for enableRegionCanary. To enable the region canary for the database. -
getScaleType
Getter for scaleType. Optional tags to choose one of the predefined cluster sizes. -
setScaleType
Setter for scaleType. Optional tags to choose one of the predefined cluster sizes. -
getStorageType
Getter for storageType. Optional tag to choose the storage types. -
setStorageType
Setter for storageType. Optional tag to choose the storage types. -
getRecipes
Getter for recipes. Custom recipes for the database. -
setRecipes
Setter for recipes. Custom recipes for the database. -
getEnableGrafana
Getter for enableGrafana. To enable grafana server for the database. -
setEnableGrafana
Setter for enableGrafana. To enable grafana server for the database. -
getRootVolumeSize
Getter for rootVolumeSize. Root volume size in GiB. -
setRootVolumeSize
Setter for rootVolumeSize. Root volume size in GiB. -
getVolumeEncryptions
Getter for volumeEncryptions. Specifies encryption key to encrypt volume for instance group. It is currently supported for AWS cloud provider only. -
setVolumeEncryptions
Setter for volumeEncryptions. Specifies encryption key to encrypt volume for instance group. It is currently supported for AWS cloud provider only. -
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
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
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
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
-
hashCode
public int hashCode() -
toString
-