#[non_exhaustive]pub struct KxClusterCodeDeploymentConfigurationBuilder { /* private fields */ }
Expand description
A builder for KxClusterCodeDeploymentConfiguration
.
Implementations§
source§impl KxClusterCodeDeploymentConfigurationBuilder
impl KxClusterCodeDeploymentConfigurationBuilder
sourcepub fn deployment_strategy(self, input: KxClusterCodeDeploymentStrategy) -> Self
pub fn deployment_strategy(self, input: KxClusterCodeDeploymentStrategy) -> 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
GP
type 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
initializationScript
andcommandLineArguments
parameters. -
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
sourcepub fn set_deployment_strategy(
self,
input: Option<KxClusterCodeDeploymentStrategy>
) -> Self
pub fn set_deployment_strategy( self, input: Option<KxClusterCodeDeploymentStrategy> ) -> 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
GP
type 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
initializationScript
andcommandLineArguments
parameters. -
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
sourcepub fn get_deployment_strategy(
&self
) -> &Option<KxClusterCodeDeploymentStrategy>
pub fn get_deployment_strategy( &self ) -> &Option<KxClusterCodeDeploymentStrategy>
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
GP
type 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
initializationScript
andcommandLineArguments
parameters. -
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
sourcepub fn build(self) -> Result<KxClusterCodeDeploymentConfiguration, BuildError>
pub fn build(self) -> Result<KxClusterCodeDeploymentConfiguration, BuildError>
Consumes the builder and constructs a KxClusterCodeDeploymentConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for KxClusterCodeDeploymentConfigurationBuilder
impl Clone for KxClusterCodeDeploymentConfigurationBuilder
source§fn clone(&self) -> KxClusterCodeDeploymentConfigurationBuilder
fn clone(&self) -> KxClusterCodeDeploymentConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for KxClusterCodeDeploymentConfigurationBuilder
impl Default for KxClusterCodeDeploymentConfigurationBuilder
source§fn default() -> KxClusterCodeDeploymentConfigurationBuilder
fn default() -> KxClusterCodeDeploymentConfigurationBuilder
source§impl PartialEq for KxClusterCodeDeploymentConfigurationBuilder
impl PartialEq for KxClusterCodeDeploymentConfigurationBuilder
source§fn eq(&self, other: &KxClusterCodeDeploymentConfigurationBuilder) -> bool
fn eq(&self, other: &KxClusterCodeDeploymentConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.