Class CreateVwRequest

java.lang.Object
com.cloudera.cdp.dw.model.CreateVwRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:25.071-07:00") public class CreateVwRequest extends Object
Request object for the createVw method.
  • Constructor Details

    • CreateVwRequest

      public CreateVwRequest()
  • Method Details

    • 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

      @Deprecated public String getTemplate()
      Deprecated.
      Getter for template. DEPRECATED: It will be replaced by the tShirtSize parameter in an upcoming release. Name of configuration template to use.
    • setTemplate

      @Deprecated public void setTemplate(String template)
      Deprecated.
      Setter for template. DEPRECATED: It will be replaced by the tShirtSize parameter in an upcoming release. 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'.
    • getImpalaQueryLog

      public Boolean getImpalaQueryLog()
      Getter for impalaQueryLog. Denotes whether the Virtual Warehouse has the Impala Query Log enabled or not.
    • setImpalaQueryLog

      public void setImpalaQueryLog(Boolean impalaQueryLog)
      Setter for impalaQueryLog. Denotes whether the Virtual Warehouse has the Impala Query Log enabled or not.
    • getEbsLLAPSpillGB

      public Integer getEbsLLAPSpillGB()
      Getter for ebsLLAPSpillGB. Provides EBS gp3 volume as temporary storage space for Hive LLAP cache, and improves query performance. Configurable only at Virtual Warehouse creation. Using EBS volumes incurs additional costs.
    • setEbsLLAPSpillGB

      public void setEbsLLAPSpillGB(Integer ebsLLAPSpillGB)
      Setter for ebsLLAPSpillGB. Provides EBS gp3 volume as temporary storage space for Hive LLAP cache, and improves query performance. Configurable only at Virtual Warehouse creation. Using EBS volumes incurs additional costs.
    • getHiveServerHaMode

      public String getHiveServerHaMode()
      Getter for hiveServerHaMode. Set Hive Server High Availability mode in Private Cloud: * `DISABLED` (default) - Disables Hive Server high availability. * `ACTIVE_PASSIVE` - Runs two Hive Server instances, one active and one passive. Hive session failover is not supported in this setup.
    • setHiveServerHaMode

      public void setHiveServerHaMode(String hiveServerHaMode)
      Setter for hiveServerHaMode. Set Hive Server High Availability mode in Private Cloud: * `DISABLED` (default) - Disables Hive Server high availability. * `ACTIVE_PASSIVE` - Runs two Hive Server instances, one active and one passive. Hive session failover is not supported in this setup.
    • 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