#[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
GPtype 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. -
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
GPtype 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. -
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
GPtype 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. -
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 ==.impl StructuralPartialEq for KxClusterCodeDeploymentConfigurationBuilder
Auto Trait Implementations§
impl Freeze for KxClusterCodeDeploymentConfigurationBuilder
impl RefUnwindSafe for KxClusterCodeDeploymentConfigurationBuilder
impl Send for KxClusterCodeDeploymentConfigurationBuilder
impl Sync for KxClusterCodeDeploymentConfigurationBuilder
impl Unpin for KxClusterCodeDeploymentConfigurationBuilder
impl UnwindSafe for KxClusterCodeDeploymentConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more