#[non_exhaustive]pub struct KxDeploymentConfigurationBuilder { /* private fields */ }Expand description
A builder for KxDeploymentConfiguration.
Implementations§
source§impl KxDeploymentConfigurationBuilder
impl KxDeploymentConfigurationBuilder
sourcepub fn deployment_strategy(self, input: KxDeploymentStrategy) -> Self
pub fn deployment_strategy(self, input: KxDeploymentStrategy) -> Self
The type of deployment that you want on a cluster.
-
ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.
-
NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for
HDBtype cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster.With this deployment mode, you cannot update the
initializationScriptandcommandLineArgumentsparameters.
sourcepub fn set_deployment_strategy(
self,
input: Option<KxDeploymentStrategy>
) -> Self
pub fn set_deployment_strategy( self, input: Option<KxDeploymentStrategy> ) -> Self
The type of deployment that you want on a cluster.
-
ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.
-
NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for
HDBtype cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster.With this deployment mode, you cannot update the
initializationScriptandcommandLineArgumentsparameters.
sourcepub fn get_deployment_strategy(&self) -> &Option<KxDeploymentStrategy>
pub fn get_deployment_strategy(&self) -> &Option<KxDeploymentStrategy>
The type of deployment that you want on a cluster.
-
ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.
-
NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for
HDBtype cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster.With this deployment mode, you cannot update the
initializationScriptandcommandLineArgumentsparameters.
sourcepub fn build(self) -> Result<KxDeploymentConfiguration, BuildError>
pub fn build(self) -> Result<KxDeploymentConfiguration, BuildError>
Consumes the builder and constructs a KxDeploymentConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for KxDeploymentConfigurationBuilder
impl Clone for KxDeploymentConfigurationBuilder
source§fn clone(&self) -> KxDeploymentConfigurationBuilder
fn clone(&self) -> KxDeploymentConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for KxDeploymentConfigurationBuilder
impl Default for KxDeploymentConfigurationBuilder
source§fn default() -> KxDeploymentConfigurationBuilder
fn default() -> KxDeploymentConfigurationBuilder
source§impl PartialEq for KxDeploymentConfigurationBuilder
impl PartialEq for KxDeploymentConfigurationBuilder
source§fn eq(&self, other: &KxDeploymentConfigurationBuilder) -> bool
fn eq(&self, other: &KxDeploymentConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.