Struct aws_sdk_finspace::operation::update_kx_cluster_code_configuration::UpdateKxClusterCodeConfigurationInput
source · #[non_exhaustive]pub struct UpdateKxClusterCodeConfigurationInput {
pub environment_id: Option<String>,
pub cluster_name: Option<String>,
pub client_token: Option<String>,
pub code: Option<CodeConfiguration>,
pub initialization_script: Option<String>,
pub command_line_arguments: Option<Vec<KxCommandLineArgument>>,
pub deployment_configuration: Option<KxClusterCodeDeploymentConfiguration>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.environment_id: Option<String>
A unique identifier of the kdb environment.
cluster_name: Option<String>
The name of the cluster.
client_token: Option<String>
A token that ensures idempotency. This token expires in 10 minutes.
code: Option<CodeConfiguration>
The structure of the customer code available within the running cluster.
initialization_script: Option<String>
Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q
.
You cannot update this parameter for a NO_RESTART
deployment.
command_line_arguments: Option<Vec<KxCommandLineArgument>>
Specifies the key-value pairs to make them available inside the cluster.
You cannot update this parameter for a NO_RESTART
deployment.
deployment_configuration: Option<KxClusterCodeDeploymentConfiguration>
The configuration that allows you to choose how you want to update the code on a cluster.
Implementations§
source§impl UpdateKxClusterCodeConfigurationInput
impl UpdateKxClusterCodeConfigurationInput
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
A unique identifier of the kdb environment.
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of the cluster.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A token that ensures idempotency. This token expires in 10 minutes.
sourcepub fn code(&self) -> Option<&CodeConfiguration>
pub fn code(&self) -> Option<&CodeConfiguration>
The structure of the customer code available within the running cluster.
sourcepub fn initialization_script(&self) -> Option<&str>
pub fn initialization_script(&self) -> Option<&str>
Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q
.
You cannot update this parameter for a NO_RESTART
deployment.
sourcepub fn command_line_arguments(&self) -> &[KxCommandLineArgument]
pub fn command_line_arguments(&self) -> &[KxCommandLineArgument]
Specifies the key-value pairs to make them available inside the cluster.
You cannot update this parameter for a NO_RESTART
deployment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .command_line_arguments.is_none()
.
sourcepub fn deployment_configuration(
&self
) -> Option<&KxClusterCodeDeploymentConfiguration>
pub fn deployment_configuration( &self ) -> Option<&KxClusterCodeDeploymentConfiguration>
The configuration that allows you to choose how you want to update the code on a cluster.
source§impl UpdateKxClusterCodeConfigurationInput
impl UpdateKxClusterCodeConfigurationInput
sourcepub fn builder() -> UpdateKxClusterCodeConfigurationInputBuilder
pub fn builder() -> UpdateKxClusterCodeConfigurationInputBuilder
Creates a new builder-style object to manufacture UpdateKxClusterCodeConfigurationInput
.
Trait Implementations§
source§impl Clone for UpdateKxClusterCodeConfigurationInput
impl Clone for UpdateKxClusterCodeConfigurationInput
source§fn clone(&self) -> UpdateKxClusterCodeConfigurationInput
fn clone(&self) -> UpdateKxClusterCodeConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateKxClusterCodeConfigurationInput
impl PartialEq for UpdateKxClusterCodeConfigurationInput
source§fn eq(&self, other: &UpdateKxClusterCodeConfigurationInput) -> bool
fn eq(&self, other: &UpdateKxClusterCodeConfigurationInput) -> bool
self
and other
values to be equal, and is used
by ==
.