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-03-13T13:08:47.791-07:00") public class CreateDatabaseRequest extends Object
A request to create the database
-
-
Constructor Summary
Constructors Constructor Description CreateDatabaseRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
AttachedStorageForWorkers
getAttachedStorageForWorkers()
Getter for attachedStorageForWorkers.AutoScalingParameters
getAutoScalingParameters()
Getter for autoScalingParameters.List<KeyValuePair>
getCustomUserTags()
Getter for customUserTags.String
getDatabaseName()
Getter for databaseName.Boolean
getDisableJwtAuth()
Getter for disableJwtAuth.Boolean
getDisableKerberos()
Getter for disableKerberos.Boolean
getDisableMultiAz()
Getter for disableMultiAz.Boolean
getEnableGrafana()
Getter for enableGrafana.Boolean
getEnableRegionCanary()
Getter for enableRegionCanary.String
getEnvironmentName()
Getter for environmentName.Image
getImage()
Getter for image.Integer
getNumEdgeNodes()
Getter for numEdgeNodes.List<CustomRecipe>
getRecipes()
Getter for recipes.String
getScaleType()
Getter for scaleType.String
getStorageType()
Getter for storageType.String
getSubnetId()
Getter for subnetId.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
setImage(Image image)
Setter for image.void
setNumEdgeNodes(Integer numEdgeNodes)
Setter for numEdgeNodes.void
setRecipes(List<CustomRecipe> recipes)
Setter for recipes.void
setScaleType(String scaleType)
Setter for scaleType.void
setStorageType(String storageType)
Setter for storageType.void
setSubnetId(String subnetId)
Setter for subnetId.String
toString()
-
-
-
Method Detail
-
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.
-
setSubnetId
public void setSubnetId(String subnetId)
Setter for subnetId. Override subnet where the database will be deployed. Disables Multi-AZ if set.
-
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.
-
-