Class KxClusterState.Builder

  • Enclosing class:
    KxClusterState

    public static final class KxClusterState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public KxClusterState.Builder arn​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN identifier of the KX cluster.
        Returns:
        builder
      • arn

        public KxClusterState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN identifier of the KX cluster.
        Returns:
        builder
      • autoScalingConfiguration

        public KxClusterState.Builder autoScalingConfiguration​(@Nullable
                                                               com.pulumi.core.Output<KxClusterAutoScalingConfigurationArgs> autoScalingConfiguration)
        Parameters:
        autoScalingConfiguration - Configuration based on which FinSpace will scale in or scale out nodes in your cluster. See `autoScalingConfiguration` Block.
        Returns:
        builder
      • autoScalingConfiguration

        public KxClusterState.Builder autoScalingConfiguration​(KxClusterAutoScalingConfigurationArgs autoScalingConfiguration)
        Parameters:
        autoScalingConfiguration - Configuration based on which FinSpace will scale in or scale out nodes in your cluster. See `autoScalingConfiguration` Block.
        Returns:
        builder
      • availabilityZoneId

        public KxClusterState.Builder availabilityZoneId​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> availabilityZoneId)
        Parameters:
        availabilityZoneId - Availability zone identifiers for the requested regions. Required when `azMode` is set to SINGLE.
        Returns:
        builder
      • availabilityZoneId

        public KxClusterState.Builder availabilityZoneId​(java.lang.String availabilityZoneId)
        Parameters:
        availabilityZoneId - Availability zone identifiers for the requested regions. Required when `azMode` is set to SINGLE.
        Returns:
        builder
      • azMode

        public KxClusterState.Builder azMode​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> azMode)
        Parameters:
        azMode - Number of availability zones to assign per cluster. Valid values are `SINGLE` (assigns one availability zone per cluster) and `MULTI` (assigns all the availability zones per cluster).
        Returns:
        builder
      • azMode

        public KxClusterState.Builder azMode​(java.lang.String azMode)
        Parameters:
        azMode - Number of availability zones to assign per cluster. Valid values are `SINGLE` (assigns one availability zone per cluster) and `MULTI` (assigns all the availability zones per cluster).
        Returns:
        builder
      • cacheStorageConfigurations

        public KxClusterState.Builder cacheStorageConfigurations​(@Nullable
                                                                 com.pulumi.core.Output<java.util.List<KxClusterCacheStorageConfigurationArgs>> cacheStorageConfigurations)
        Parameters:
        cacheStorageConfigurations - 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. See `cacheStorageConfigurations` Block.
        Returns:
        builder
      • cacheStorageConfigurations

        public KxClusterState.Builder cacheStorageConfigurations​(java.util.List<KxClusterCacheStorageConfigurationArgs> cacheStorageConfigurations)
        Parameters:
        cacheStorageConfigurations - 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. See `cacheStorageConfigurations` Block.
        Returns:
        builder
      • cacheStorageConfigurations

        public KxClusterState.Builder cacheStorageConfigurations​(KxClusterCacheStorageConfigurationArgs... cacheStorageConfigurations)
        Parameters:
        cacheStorageConfigurations - 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. See `cacheStorageConfigurations` Block.
        Returns:
        builder
      • capacityConfiguration

        public KxClusterState.Builder capacityConfiguration​(@Nullable
                                                            com.pulumi.core.Output<KxClusterCapacityConfigurationArgs> capacityConfiguration)
        Parameters:
        capacityConfiguration - Structure for the metadata of a cluster. Includes information like the CPUs needed, memory of instances, and number of instances. See `capacityConfiguration` Block.
        Returns:
        builder
      • capacityConfiguration

        public KxClusterState.Builder capacityConfiguration​(KxClusterCapacityConfigurationArgs capacityConfiguration)
        Parameters:
        capacityConfiguration - Structure for the metadata of a cluster. Includes information like the CPUs needed, memory of instances, and number of instances. See `capacityConfiguration` Block.
        Returns:
        builder
      • code

        public KxClusterState.Builder code​(@Nullable
                                           com.pulumi.core.Output<KxClusterCodeArgs> code)
        Parameters:
        code - Details of the custom code that you want to use inside a cluster when analyzing data. Consists of the S3 source bucket, location, object version, and the relative path from where the custom code is loaded into the cluster. See `code` Block.
        Returns:
        builder
      • code

        public KxClusterState.Builder code​(KxClusterCodeArgs code)
        Parameters:
        code - Details of the custom code that you want to use inside a cluster when analyzing data. Consists of the S3 source bucket, location, object version, and the relative path from where the custom code is loaded into the cluster. See `code` Block.
        Returns:
        builder
      • commandLineArguments

        public KxClusterState.Builder commandLineArguments​(@Nullable
                                                           com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> commandLineArguments)
        Parameters:
        commandLineArguments - List of key-value pairs to make available inside the cluster.
        Returns:
        builder
      • commandLineArguments

        public KxClusterState.Builder commandLineArguments​(java.util.Map<java.lang.String,​java.lang.String> commandLineArguments)
        Parameters:
        commandLineArguments - List of key-value pairs to make available inside the cluster.
        Returns:
        builder
      • createdTimestamp

        public KxClusterState.Builder createdTimestamp​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> createdTimestamp)
        Parameters:
        createdTimestamp - Timestamp at which the cluster is created in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
        Returns:
        builder
      • createdTimestamp

        public KxClusterState.Builder createdTimestamp​(java.lang.String createdTimestamp)
        Parameters:
        createdTimestamp - Timestamp at which the cluster is created in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
        Returns:
        builder
      • databases

        public KxClusterState.Builder databases​(@Nullable
                                                com.pulumi.core.Output<java.util.List<KxClusterDatabaseArgs>> databases)
        Parameters:
        databases - KX database that will be available for querying. See `database` Block.
        Returns:
        builder
      • databases

        public KxClusterState.Builder databases​(java.util.List<KxClusterDatabaseArgs> databases)
        Parameters:
        databases - KX database that will be available for querying. See `database` Block.
        Returns:
        builder
      • description

        public KxClusterState.Builder description​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the cluster.
        Returns:
        builder
      • description

        public KxClusterState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the cluster.
        Returns:
        builder
      • environmentId

        public KxClusterState.Builder environmentId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> environmentId)
        Parameters:
        environmentId - Unique identifier for the KX environment.
        Returns:
        builder
      • environmentId

        public KxClusterState.Builder environmentId​(java.lang.String environmentId)
        Parameters:
        environmentId - Unique identifier for the KX environment.
        Returns:
        builder
      • executionRole

        public KxClusterState.Builder executionRole​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> executionRole)
        Parameters:
        executionRole - IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.
        Returns:
        builder
      • executionRole

        public KxClusterState.Builder executionRole​(java.lang.String executionRole)
        Parameters:
        executionRole - IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.
        Returns:
        builder
      • initializationScript

        public KxClusterState.Builder initializationScript​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> initializationScript)
        Parameters:
        initializationScript - Path to Q program that will be run at launch of a cluster. This 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.
        Returns:
        builder
      • initializationScript

        public KxClusterState.Builder initializationScript​(java.lang.String initializationScript)
        Parameters:
        initializationScript - Path to Q program that will be run at launch of a cluster. This 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.
        Returns:
        builder
      • lastModifiedTimestamp

        public KxClusterState.Builder lastModifiedTimestamp​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> lastModifiedTimestamp)
        Parameters:
        lastModifiedTimestamp - Last timestamp at which the cluster was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
        Returns:
        builder
      • lastModifiedTimestamp

        public KxClusterState.Builder lastModifiedTimestamp​(java.lang.String lastModifiedTimestamp)
        Parameters:
        lastModifiedTimestamp - Last timestamp at which the cluster was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
        Returns:
        builder
      • name

        public KxClusterState.Builder name​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Unique name for the cluster that you want to create.
        Returns:
        builder
      • name

        public KxClusterState.Builder name​(java.lang.String name)
        Parameters:
        name - Unique name for the cluster that you want to create.
        Returns:
        builder
      • region

        public KxClusterState.Builder region​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public KxClusterState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • releaseLabel

        public KxClusterState.Builder releaseLabel​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> releaseLabel)
        Parameters:
        releaseLabel - Version of FinSpace Managed kdb to run.
        Returns:
        builder
      • releaseLabel

        public KxClusterState.Builder releaseLabel​(java.lang.String releaseLabel)
        Parameters:
        releaseLabel - Version of FinSpace Managed kdb to run.
        Returns:
        builder
      • savedownStorageConfiguration

        public KxClusterState.Builder savedownStorageConfiguration​(@Nullable
                                                                   com.pulumi.core.Output<KxClusterSavedownStorageConfigurationArgs> savedownStorageConfiguration)
        Parameters:
        savedownStorageConfiguration - Size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose `type` as RDB. All the data written to this storage space is lost when the cluster node is restarted. See `savedownStorageConfiguration` Block.
        Returns:
        builder
      • savedownStorageConfiguration

        public KxClusterState.Builder savedownStorageConfiguration​(KxClusterSavedownStorageConfigurationArgs savedownStorageConfiguration)
        Parameters:
        savedownStorageConfiguration - Size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose `type` as RDB. All the data written to this storage space is lost when the cluster node is restarted. See `savedownStorageConfiguration` Block.
        Returns:
        builder
      • scalingGroupConfiguration

        public KxClusterState.Builder scalingGroupConfiguration​(@Nullable
                                                                com.pulumi.core.Output<KxClusterScalingGroupConfigurationArgs> scalingGroupConfiguration)
        Parameters:
        scalingGroupConfiguration - Structure that stores the configuration details of a scaling group. See `scalingGroupConfiguration` Block.
        Returns:
        builder
      • scalingGroupConfiguration

        public KxClusterState.Builder scalingGroupConfiguration​(KxClusterScalingGroupConfigurationArgs scalingGroupConfiguration)
        Parameters:
        scalingGroupConfiguration - Structure that stores the configuration details of a scaling group. See `scalingGroupConfiguration` Block.
        Returns:
        builder
      • status

        public KxClusterState.Builder status​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - Status of the cluster.
        Returns:
        builder
      • status

        public KxClusterState.Builder status​(java.lang.String status)
        Parameters:
        status - Status of the cluster.
        Returns:
        builder
      • statusReason

        public KxClusterState.Builder statusReason​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> statusReason)
        Parameters:
        statusReason - Reason for the cluster status.
        Returns:
        builder
      • statusReason

        public KxClusterState.Builder statusReason​(java.lang.String statusReason)
        Parameters:
        statusReason - Reason for the cluster status.
        Returns:
        builder
      • tags

        public KxClusterState.Builder tags​(@Nullable
                                           com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public KxClusterState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public KxClusterState.Builder tagsAll​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public KxClusterState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tickerplantLogConfigurations

        public KxClusterState.Builder tickerplantLogConfigurations​(@Nullable
                                                                   com.pulumi.core.Output<java.util.List<KxClusterTickerplantLogConfigurationArgs>> tickerplantLogConfigurations)
        Parameters:
        tickerplantLogConfigurations - Configuration to store Tickerplant logs. It consists of a list of volumes that will be mounted to your cluster. For the cluster type Tickerplant, the location of the TP volume on the cluster will be available by using the global variable .aws.tp_log_path. See `tickerplantLogConfiguration` Block.
        Returns:
        builder
      • tickerplantLogConfigurations

        public KxClusterState.Builder tickerplantLogConfigurations​(java.util.List<KxClusterTickerplantLogConfigurationArgs> tickerplantLogConfigurations)
        Parameters:
        tickerplantLogConfigurations - Configuration to store Tickerplant logs. It consists of a list of volumes that will be mounted to your cluster. For the cluster type Tickerplant, the location of the TP volume on the cluster will be available by using the global variable .aws.tp_log_path. See `tickerplantLogConfiguration` Block.
        Returns:
        builder
      • tickerplantLogConfigurations

        public KxClusterState.Builder tickerplantLogConfigurations​(KxClusterTickerplantLogConfigurationArgs... tickerplantLogConfigurations)
        Parameters:
        tickerplantLogConfigurations - Configuration to store Tickerplant logs. It consists of a list of volumes that will be mounted to your cluster. For the cluster type Tickerplant, the location of the TP volume on the cluster will be available by using the global variable .aws.tp_log_path. See `tickerplantLogConfiguration` Block.
        Returns:
        builder
      • type

        public KxClusterState.Builder type​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Type of KDB database. Valid values are `HDB` (Historical Database), `RDB` (Realtime Database, which requires the `savedownStorageConfiguration` parameter), `GATEWAY`, `GP` (general purpose), and `Tickerplant`.
        Returns:
        builder
      • type

        public KxClusterState.Builder type​(java.lang.String type)
        Parameters:
        type - Type of KDB database. Valid values are `HDB` (Historical Database), `RDB` (Realtime Database, which requires the `savedownStorageConfiguration` parameter), `GATEWAY`, `GP` (general purpose), and `Tickerplant`.
        Returns:
        builder
      • vpcConfiguration

        public KxClusterState.Builder vpcConfiguration​(@Nullable
                                                       com.pulumi.core.Output<KxClusterVpcConfigurationArgs> vpcConfiguration)
        Parameters:
        vpcConfiguration - Configuration details about the network where the Privatelink endpoint of the cluster resides. See `vpcConfiguration` Block. The following arguments are optional:
        Returns:
        builder
      • vpcConfiguration

        public KxClusterState.Builder vpcConfiguration​(KxClusterVpcConfigurationArgs vpcConfiguration)
        Parameters:
        vpcConfiguration - Configuration details about the network where the Privatelink endpoint of the cluster resides. See `vpcConfiguration` Block. The following arguments are optional:
        Returns:
        builder