Struct aws_sdk_finspace::operation::create_kx_cluster::builders::CreateKxClusterInputBuilder
source · #[non_exhaustive]pub struct CreateKxClusterInputBuilder { /* private fields */ }Expand description
A builder for CreateKxClusterInput.
Implementations§
source§impl CreateKxClusterInputBuilder
impl CreateKxClusterInputBuilder
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 environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
A unique identifier for 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 for the kdb environment.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
A unique identifier for the kdb environment.
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
A unique name for the cluster that you want to create.
This field is required.sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
A unique name for the cluster that you want to create.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
A unique name for the cluster that you want to create.
sourcepub fn cluster_type(self, input: KxClusterType) -> Self
pub fn cluster_type(self, input: KxClusterType) -> Self
Specifies the type of KDB database that is being created. The following types are available:
-
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
-
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the
savedownStorageConfigurationparameter. -
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
sourcepub fn set_cluster_type(self, input: Option<KxClusterType>) -> Self
pub fn set_cluster_type(self, input: Option<KxClusterType>) -> Self
Specifies the type of KDB database that is being created. The following types are available:
-
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
-
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the
savedownStorageConfigurationparameter. -
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
sourcepub fn get_cluster_type(&self) -> &Option<KxClusterType>
pub fn get_cluster_type(&self) -> &Option<KxClusterType>
Specifies the type of KDB database that is being created. The following types are available:
-
HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.
-
RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the
savedownStorageConfigurationparameter. -
GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
sourcepub fn databases(self, input: KxDatabaseConfiguration) -> Self
pub fn databases(self, input: KxDatabaseConfiguration) -> Self
Appends an item to databases.
To override the contents of this collection use set_databases.
A list of databases that will be available for querying.
sourcepub fn set_databases(self, input: Option<Vec<KxDatabaseConfiguration>>) -> Self
pub fn set_databases(self, input: Option<Vec<KxDatabaseConfiguration>>) -> Self
A list of databases that will be available for querying.
sourcepub fn get_databases(&self) -> &Option<Vec<KxDatabaseConfiguration>>
pub fn get_databases(&self) -> &Option<Vec<KxDatabaseConfiguration>>
A list of databases that will be available for querying.
sourcepub fn cache_storage_configurations(
self,
input: KxCacheStorageConfiguration
) -> Self
pub fn cache_storage_configurations( self, input: KxCacheStorageConfiguration ) -> Self
Appends an item to cache_storage_configurations.
To override the contents of this collection use set_cache_storage_configurations.
The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store.
sourcepub fn set_cache_storage_configurations(
self,
input: Option<Vec<KxCacheStorageConfiguration>>
) -> Self
pub fn set_cache_storage_configurations( self, input: Option<Vec<KxCacheStorageConfiguration>> ) -> Self
The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store.
sourcepub fn get_cache_storage_configurations(
&self
) -> &Option<Vec<KxCacheStorageConfiguration>>
pub fn get_cache_storage_configurations( &self ) -> &Option<Vec<KxCacheStorageConfiguration>>
The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store.
sourcepub fn auto_scaling_configuration(self, input: AutoScalingConfiguration) -> Self
pub fn auto_scaling_configuration(self, input: AutoScalingConfiguration) -> Self
The configuration based on which FinSpace will scale in or scale out nodes in your cluster.
sourcepub fn set_auto_scaling_configuration(
self,
input: Option<AutoScalingConfiguration>
) -> Self
pub fn set_auto_scaling_configuration( self, input: Option<AutoScalingConfiguration> ) -> Self
The configuration based on which FinSpace will scale in or scale out nodes in your cluster.
sourcepub fn get_auto_scaling_configuration(
&self
) -> &Option<AutoScalingConfiguration>
pub fn get_auto_scaling_configuration( &self ) -> &Option<AutoScalingConfiguration>
The configuration based on which FinSpace will scale in or scale out nodes in your cluster.
sourcepub fn cluster_description(self, input: impl Into<String>) -> Self
pub fn cluster_description(self, input: impl Into<String>) -> Self
A description of the cluster.
sourcepub fn set_cluster_description(self, input: Option<String>) -> Self
pub fn set_cluster_description(self, input: Option<String>) -> Self
A description of the cluster.
sourcepub fn get_cluster_description(&self) -> &Option<String>
pub fn get_cluster_description(&self) -> &Option<String>
A description of the cluster.
sourcepub fn capacity_configuration(self, input: CapacityConfiguration) -> Self
pub fn capacity_configuration(self, input: CapacityConfiguration) -> Self
A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
This field is required.sourcepub fn set_capacity_configuration(
self,
input: Option<CapacityConfiguration>
) -> Self
pub fn set_capacity_configuration( self, input: Option<CapacityConfiguration> ) -> Self
A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
sourcepub fn get_capacity_configuration(&self) -> &Option<CapacityConfiguration>
pub fn get_capacity_configuration(&self) -> &Option<CapacityConfiguration>
A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
sourcepub fn release_label(self, input: impl Into<String>) -> Self
pub fn release_label(self, input: impl Into<String>) -> Self
The version of FinSpace managed kdb to run.
This field is required.sourcepub fn set_release_label(self, input: Option<String>) -> Self
pub fn set_release_label(self, input: Option<String>) -> Self
The version of FinSpace managed kdb to run.
sourcepub fn get_release_label(&self) -> &Option<String>
pub fn get_release_label(&self) -> &Option<String>
The version of FinSpace managed kdb to run.
sourcepub fn vpc_configuration(self, input: VpcConfiguration) -> Self
pub fn vpc_configuration(self, input: VpcConfiguration) -> Self
Configuration details about the network where the Privatelink endpoint of the cluster resides.
sourcepub fn set_vpc_configuration(self, input: Option<VpcConfiguration>) -> Self
pub fn set_vpc_configuration(self, input: Option<VpcConfiguration>) -> Self
Configuration details about the network where the Privatelink endpoint of the cluster resides.
sourcepub fn get_vpc_configuration(&self) -> &Option<VpcConfiguration>
pub fn get_vpc_configuration(&self) -> &Option<VpcConfiguration>
Configuration details about the network where the Privatelink endpoint of the cluster resides.
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.
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.
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.
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.
Defines the key-value pairs to make them available inside the cluster.
sourcepub fn set_command_line_arguments(
self,
input: Option<Vec<KxCommandLineArgument>>
) -> Self
pub fn set_command_line_arguments( self, input: Option<Vec<KxCommandLineArgument>> ) -> Self
Defines the key-value pairs to make them available inside the cluster.
sourcepub fn get_command_line_arguments(&self) -> &Option<Vec<KxCommandLineArgument>>
pub fn get_command_line_arguments(&self) -> &Option<Vec<KxCommandLineArgument>>
Defines the key-value pairs to make them available inside the cluster.
sourcepub fn code(self, input: CodeConfiguration) -> Self
pub fn code(self, input: CodeConfiguration) -> Self
The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the cluster.
sourcepub fn set_code(self, input: Option<CodeConfiguration>) -> Self
pub fn set_code(self, input: Option<CodeConfiguration>) -> Self
The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the cluster.
sourcepub fn get_code(&self) -> &Option<CodeConfiguration>
pub fn get_code(&self) -> &Option<CodeConfiguration>
The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the cluster.
sourcepub fn execution_role(self, input: impl Into<String>) -> Self
pub fn execution_role(self, input: impl Into<String>) -> Self
An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.
sourcepub fn set_execution_role(self, input: Option<String>) -> Self
pub fn set_execution_role(self, input: Option<String>) -> Self
An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.
sourcepub fn get_execution_role(&self) -> &Option<String>
pub fn get_execution_role(&self) -> &Option<String>
An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.
sourcepub fn savedown_storage_configuration(
self,
input: KxSavedownStorageConfiguration
) -> Self
pub fn savedown_storage_configuration( self, input: KxSavedownStorageConfiguration ) -> Self
The size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose clusterType as RDB. All the data written to this storage space is lost when the cluster node is restarted.
sourcepub fn set_savedown_storage_configuration(
self,
input: Option<KxSavedownStorageConfiguration>
) -> Self
pub fn set_savedown_storage_configuration( self, input: Option<KxSavedownStorageConfiguration> ) -> Self
The size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose clusterType as RDB. All the data written to this storage space is lost when the cluster node is restarted.
sourcepub fn get_savedown_storage_configuration(
&self
) -> &Option<KxSavedownStorageConfiguration>
pub fn get_savedown_storage_configuration( &self ) -> &Option<KxSavedownStorageConfiguration>
The size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose clusterType as RDB. All the data written to this storage space is lost when the cluster node is restarted.
sourcepub fn az_mode(self, input: KxAzMode) -> Self
pub fn az_mode(self, input: KxAzMode) -> Self
The number of availability zones you want to assign per cluster. This can be one of the following
-
SINGLE– Assigns one availability zone per cluster. -
MULTI– Assigns all the availability zones per cluster.
sourcepub fn set_az_mode(self, input: Option<KxAzMode>) -> Self
pub fn set_az_mode(self, input: Option<KxAzMode>) -> Self
The number of availability zones you want to assign per cluster. This can be one of the following
-
SINGLE– Assigns one availability zone per cluster. -
MULTI– Assigns all the availability zones per cluster.
sourcepub fn get_az_mode(&self) -> &Option<KxAzMode>
pub fn get_az_mode(&self) -> &Option<KxAzMode>
The number of availability zones you want to assign per cluster. This can be one of the following
-
SINGLE– Assigns one availability zone per cluster. -
MULTI– Assigns all the availability zones per cluster.
sourcepub fn availability_zone_id(self, input: impl Into<String>) -> Self
pub fn availability_zone_id(self, input: impl Into<String>) -> Self
The availability zone identifiers for the requested regions.
sourcepub fn set_availability_zone_id(self, input: Option<String>) -> Self
pub fn set_availability_zone_id(self, input: Option<String>) -> Self
The availability zone identifiers for the requested regions.
sourcepub fn get_availability_zone_id(&self) -> &Option<String>
pub fn get_availability_zone_id(&self) -> &Option<String>
The availability zone identifiers for the requested regions.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster.
A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster.
A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster.
sourcepub fn build(self) -> Result<CreateKxClusterInput, BuildError>
pub fn build(self) -> Result<CreateKxClusterInput, BuildError>
Consumes the builder and constructs a CreateKxClusterInput.
source§impl CreateKxClusterInputBuilder
impl CreateKxClusterInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateKxClusterOutput, SdkError<CreateKxClusterError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateKxClusterOutput, SdkError<CreateKxClusterError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateKxClusterInputBuilder
impl Clone for CreateKxClusterInputBuilder
source§fn clone(&self) -> CreateKxClusterInputBuilder
fn clone(&self) -> CreateKxClusterInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateKxClusterInputBuilder
impl Debug for CreateKxClusterInputBuilder
source§impl Default for CreateKxClusterInputBuilder
impl Default for CreateKxClusterInputBuilder
source§fn default() -> CreateKxClusterInputBuilder
fn default() -> CreateKxClusterInputBuilder
source§impl PartialEq for CreateKxClusterInputBuilder
impl PartialEq for CreateKxClusterInputBuilder
source§fn eq(&self, other: &CreateKxClusterInputBuilder) -> bool
fn eq(&self, other: &CreateKxClusterInputBuilder) -> bool
self and other values to be equal, and is used
by ==.