Struct aws_sdk_finspace::operation::update_kx_cluster_code_configuration::builders::UpdateKxClusterCodeConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateKxClusterCodeConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateKxClusterCodeConfigurationInput
.
Implementations§
source§impl UpdateKxClusterCodeConfigurationInputBuilder
impl UpdateKxClusterCodeConfigurationInputBuilder
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
A unique identifier of the kdb environment.
This field is required.sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
A unique identifier of the kdb environment.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
A unique identifier of the kdb environment.
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the cluster.
This field is required.sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the cluster.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
The name of the cluster.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A token that ensures idempotency. This token expires in 10 minutes.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A token that ensures idempotency. This token expires in 10 minutes.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A token that ensures idempotency. This token expires in 10 minutes.
sourcepub fn code(self, input: CodeConfiguration) -> Self
pub fn code(self, input: CodeConfiguration) -> Self
The structure of the customer code available within the running cluster.
This field is required.sourcepub fn set_code(self, input: Option<CodeConfiguration>) -> Self
pub fn set_code(self, input: Option<CodeConfiguration>) -> Self
The structure of the customer code available within the running cluster.
sourcepub fn get_code(&self) -> &Option<CodeConfiguration>
pub fn get_code(&self) -> &Option<CodeConfiguration>
The structure of the customer code available within the running cluster.
sourcepub fn initialization_script(self, input: impl Into<String>) -> Self
pub fn initialization_script(self, input: impl Into<String>) -> Self
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 set_initialization_script(self, input: Option<String>) -> Self
pub fn set_initialization_script(self, input: Option<String>) -> Self
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 get_initialization_script(&self) -> &Option<String>
pub fn get_initialization_script(&self) -> &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.
sourcepub fn command_line_arguments(self, input: KxCommandLineArgument) -> Self
pub fn command_line_arguments(self, input: KxCommandLineArgument) -> Self
Appends an item to command_line_arguments
.
To override the contents of this collection use set_command_line_arguments
.
Specifies the key-value pairs to make them available inside the cluster.
You cannot update this parameter for a NO_RESTART
deployment.
sourcepub fn set_command_line_arguments(
self,
input: Option<Vec<KxCommandLineArgument>>
) -> Self
pub fn set_command_line_arguments( self, input: Option<Vec<KxCommandLineArgument>> ) -> Self
Specifies the key-value pairs to make them available inside the cluster.
You cannot update this parameter for a NO_RESTART
deployment.
sourcepub fn get_command_line_arguments(&self) -> &Option<Vec<KxCommandLineArgument>>
pub fn get_command_line_arguments(&self) -> &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.
sourcepub fn deployment_configuration(
self,
input: KxClusterCodeDeploymentConfiguration
) -> Self
pub fn deployment_configuration( self, input: KxClusterCodeDeploymentConfiguration ) -> Self
The configuration that allows you to choose how you want to update the code on a cluster.
sourcepub fn set_deployment_configuration(
self,
input: Option<KxClusterCodeDeploymentConfiguration>
) -> Self
pub fn set_deployment_configuration( self, input: Option<KxClusterCodeDeploymentConfiguration> ) -> Self
The configuration that allows you to choose how you want to update the code on a cluster.
sourcepub fn get_deployment_configuration(
&self
) -> &Option<KxClusterCodeDeploymentConfiguration>
pub fn get_deployment_configuration( &self ) -> &Option<KxClusterCodeDeploymentConfiguration>
The configuration that allows you to choose how you want to update the code on a cluster.
sourcepub fn build(self) -> Result<UpdateKxClusterCodeConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateKxClusterCodeConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateKxClusterCodeConfigurationInput
.
source§impl UpdateKxClusterCodeConfigurationInputBuilder
impl UpdateKxClusterCodeConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateKxClusterCodeConfigurationOutput, SdkError<UpdateKxClusterCodeConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateKxClusterCodeConfigurationOutput, SdkError<UpdateKxClusterCodeConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateKxClusterCodeConfigurationInputBuilder
impl Clone for UpdateKxClusterCodeConfigurationInputBuilder
source§fn clone(&self) -> UpdateKxClusterCodeConfigurationInputBuilder
fn clone(&self) -> UpdateKxClusterCodeConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateKxClusterCodeConfigurationInputBuilder
impl Default for UpdateKxClusterCodeConfigurationInputBuilder
source§fn default() -> UpdateKxClusterCodeConfigurationInputBuilder
fn default() -> UpdateKxClusterCodeConfigurationInputBuilder
source§impl PartialEq for UpdateKxClusterCodeConfigurationInputBuilder
impl PartialEq for UpdateKxClusterCodeConfigurationInputBuilder
source§fn eq(&self, other: &UpdateKxClusterCodeConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateKxClusterCodeConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.