Package com.cloudera.cdp.dw.model
Class CreateVwRequest
- java.lang.Object
-
- com.cloudera.cdp.dw.model.CreateVwRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-12-01T13:59:39.820-08:00") public class CreateVwRequest extends Object
Request object for the createVw method.
-
-
Constructor Summary
Constructors Constructor Description CreateVwRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
AutoscalingOptionsCreateRequest
getAutoscaling()
Getter for autoscaling.String
getAvailabilityZone()
Getter for availabilityZone.String
getClusterId()
Getter for clusterId.ServiceConfigReq
getConfig()
Getter for config.String
getDbcId()
Getter for dbcId.Boolean
getEnableUnifiedAnalytics()
Getter for enableUnifiedAnalytics.String
getHiveAuthenticationMode()
Deprecated.String
getImageVersion()
Getter for imageVersion.ImpalaHASettingsCreateRequest
getImpalaHaSettings()
Getter for impalaHaSettings.ImpalaOptionsCreateRequest
getImpalaOptions()
Getter for impalaOptions.String
getName()
Getter for name.Integer
getNodeCount()
Getter for nodeCount.Boolean
getPlatformJwtAuth()
Getter for platformJwtAuth.QueryIsolationOptionsRequest
getQueryIsolationOptions()
Getter for queryIsolationOptions.String
getResourcePool()
Getter for resourcePool.List<TagRequest>
getTags()
Getter for tags.String
getTemplate()
Getter for template.String
getVwType()
Getter for vwType.int
hashCode()
void
setAutoscaling(AutoscalingOptionsCreateRequest autoscaling)
Setter for autoscaling.void
setAvailabilityZone(String availabilityZone)
Setter for availabilityZone.void
setClusterId(String clusterId)
Setter for clusterId.void
setConfig(ServiceConfigReq config)
Setter for config.void
setDbcId(String dbcId)
Setter for dbcId.void
setEnableUnifiedAnalytics(Boolean enableUnifiedAnalytics)
Setter for enableUnifiedAnalytics.void
setHiveAuthenticationMode(String hiveAuthenticationMode)
Deprecated.void
setImageVersion(String imageVersion)
Setter for imageVersion.void
setImpalaHaSettings(ImpalaHASettingsCreateRequest impalaHaSettings)
Setter for impalaHaSettings.void
setImpalaOptions(ImpalaOptionsCreateRequest impalaOptions)
Setter for impalaOptions.void
setName(String name)
Setter for name.void
setNodeCount(Integer nodeCount)
Setter for nodeCount.void
setPlatformJwtAuth(Boolean platformJwtAuth)
Setter for platformJwtAuth.void
setQueryIsolationOptions(QueryIsolationOptionsRequest queryIsolationOptions)
Setter for queryIsolationOptions.void
setResourcePool(String resourcePool)
Setter for resourcePool.void
setTags(List<TagRequest> tags)
Setter for tags.void
setTemplate(String template)
Setter for template.void
setVwType(String vwType)
Setter for vwType.String
toString()
-
-
-
Method Detail
-
getClusterId
public String getClusterId()
Getter for clusterId. ID of cluster where Virtual Warehouse should be created.
-
setClusterId
public void setClusterId(String clusterId)
Setter for clusterId. ID of cluster where Virtual Warehouse should be created.
-
getDbcId
public String getDbcId()
Getter for dbcId. ID of Database Catalog that the Virtual Warehouse should be attached to.
-
setDbcId
public void setDbcId(String dbcId)
Setter for dbcId. ID of Database Catalog that the Virtual Warehouse should be attached to.
-
getVwType
public String getVwType()
Getter for vwType. Type of Virtual Warehouse to be created.
-
setVwType
public void setVwType(String vwType)
Setter for vwType. Type of Virtual Warehouse to be created.
-
getName
public String getName()
Getter for name. Name of the Virtual Warehouse.
-
setName
public void setName(String name)
Setter for name. Name of the Virtual Warehouse.
-
getImageVersion
public String getImageVersion()
Getter for imageVersion. version of the Virtual Warehouse.
-
setImageVersion
public void setImageVersion(String imageVersion)
Setter for imageVersion. version of the Virtual Warehouse.
-
getTemplate
public String getTemplate()
Getter for template. Name of configuration template to use.
-
setTemplate
public void setTemplate(String template)
Setter for template. Name of configuration template to use.
-
getNodeCount
public Integer getNodeCount()
Getter for nodeCount. Nodes per compute cluster. If specified, forces 'template' to be 'custom'
-
setNodeCount
public void setNodeCount(Integer nodeCount)
Setter for nodeCount. Nodes per compute cluster. If specified, forces 'template' to be 'custom'
-
getAvailabilityZone
public String getAvailabilityZone()
Getter for availabilityZone. This feature works only for AWS cluster type. An availability zone to host compute instances. If not specified, defaults to a randomly selected availability zone inferred from available subnets. In order to query possible options, see \"availabilityZones\" field of describe-cluster or list-clusters command response.
-
setAvailabilityZone
public void setAvailabilityZone(String availabilityZone)
Setter for availabilityZone. This feature works only for AWS cluster type. An availability zone to host compute instances. If not specified, defaults to a randomly selected availability zone inferred from available subnets. In order to query possible options, see \"availabilityZones\" field of describe-cluster or list-clusters command response.
-
getEnableUnifiedAnalytics
public Boolean getEnableUnifiedAnalytics()
Getter for enableUnifiedAnalytics. Enable Unified Analytics. In the case of Hive Virtual Warehouses, this cannot be provided, because this value is inferred. In the case of Impala, this can be set. Passing --query-isolation-options will be considered only if this flag is set to true. If Unified Analytics is enabled then the \"enableShutdownOfCoordinator\" in --impala-ha-settings is explicitly disabled (ignored) and should not be provided, furthermore the \"highAvailabilityMode\" in --impala-ha-settings cannot be set to ACTIVE_ACTIVE.
-
setEnableUnifiedAnalytics
public void setEnableUnifiedAnalytics(Boolean enableUnifiedAnalytics)
Setter for enableUnifiedAnalytics. Enable Unified Analytics. In the case of Hive Virtual Warehouses, this cannot be provided, because this value is inferred. In the case of Impala, this can be set. Passing --query-isolation-options will be considered only if this flag is set to true. If Unified Analytics is enabled then the \"enableShutdownOfCoordinator\" in --impala-ha-settings is explicitly disabled (ignored) and should not be provided, furthermore the \"highAvailabilityMode\" in --impala-ha-settings cannot be set to ACTIVE_ACTIVE.
-
getImpalaOptions
public ImpalaOptionsCreateRequest getImpalaOptions()
Getter for impalaOptions. Impala specific options. It cannot be provided for Virtual Warehouse types other than Impala.
-
setImpalaOptions
public void setImpalaOptions(ImpalaOptionsCreateRequest impalaOptions)
Setter for impalaOptions. Impala specific options. It cannot be provided for Virtual Warehouse types other than Impala.
-
getImpalaHaSettings
public ImpalaHASettingsCreateRequest getImpalaHaSettings()
Getter for impalaHaSettings. High Availability settings for the Impala Virtual Warehouse. NOTE that in --autoscaling object you should avoid using the same deprecated properties because only the --impala-ha-setting properties will be considered if any of its values are set.
-
setImpalaHaSettings
public void setImpalaHaSettings(ImpalaHASettingsCreateRequest impalaHaSettings)
Setter for impalaHaSettings. High Availability settings for the Impala Virtual Warehouse. NOTE that in --autoscaling object you should avoid using the same deprecated properties because only the --impala-ha-setting properties will be considered if any of its values are set.
-
getAutoscaling
public AutoscalingOptionsCreateRequest getAutoscaling()
Getter for autoscaling. Autoscaling settings for the Virtual Warehouse.
-
setAutoscaling
public void setAutoscaling(AutoscalingOptionsCreateRequest autoscaling)
Setter for autoscaling. Autoscaling settings for the Virtual Warehouse.
-
getConfig
public ServiceConfigReq getConfig()
Getter for config. Configuration settings for the Virtual Warehouse.
-
setConfig
public void setConfig(ServiceConfigReq config)
Setter for config. Configuration settings for the Virtual Warehouse.
-
getQueryIsolationOptions
public QueryIsolationOptionsRequest getQueryIsolationOptions()
Getter for queryIsolationOptions. Query isolation settings for the Virtual Warehouse. For Impala this value will be considered only if Unified Analytics is enabled.
-
setQueryIsolationOptions
public void setQueryIsolationOptions(QueryIsolationOptionsRequest queryIsolationOptions)
Setter for queryIsolationOptions. Query isolation settings for the Virtual Warehouse. For Impala this value will be considered only if Unified Analytics is enabled.
-
getTags
public List<TagRequest> getTags()
Getter for tags. Tags associated with the resources.
-
setTags
public void setTags(List<TagRequest> tags)
Setter for tags. Tags associated with the resources.
-
getResourcePool
public String getResourcePool()
Getter for resourcePool. The Resource Pool of the Virtual Warehouse.
-
setResourcePool
public void setResourcePool(String resourcePool)
Setter for resourcePool. The Resource Pool of the Virtual Warehouse.
-
getHiveAuthenticationMode
@Deprecated public String getHiveAuthenticationMode()
Deprecated.Getter for hiveAuthenticationMode. DEPRECATED - Sets the authentication mode to use by Hive Server: * `LDAP` * `KERBEROS` Default: `LDAP` if not specified
-
setHiveAuthenticationMode
@Deprecated public void setHiveAuthenticationMode(String hiveAuthenticationMode)
Deprecated.Setter for hiveAuthenticationMode. DEPRECATED - Sets the authentication mode to use by Hive Server: * `LDAP` * `KERBEROS` Default: `LDAP` if not specified
-
getPlatformJwtAuth
public Boolean getPlatformJwtAuth()
Getter for platformJwtAuth. Value of 'true' automatically configures the Virtual Warehouse to support JWTs issues by the CDP JWT token provider. Value of 'false' does not enable JWT auth on the Virtual Warehouse. If this field is not specified, it defaults to 'false'.
-
setPlatformJwtAuth
public void setPlatformJwtAuth(Boolean platformJwtAuth)
Setter for platformJwtAuth. Value of 'true' automatically configures the Virtual Warehouse to support JWTs issues by the CDP JWT token provider. Value of 'false' does not enable JWT auth on the Virtual Warehouse. If this field is not specified, it defaults to 'false'.
-
-