Class KxClusterAutoScalingConfigurationArgs.Builder

    • Method Detail

      • autoScalingMetric

        public KxClusterAutoScalingConfigurationArgs.Builder autoScalingMetric​(com.pulumi.core.Output<java.lang.String> autoScalingMetric)
        Parameters:
        autoScalingMetric - Metric your cluster will track in order to scale in and out. For example, CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all nodes in a cluster.
        Returns:
        builder
      • autoScalingMetric

        public KxClusterAutoScalingConfigurationArgs.Builder autoScalingMetric​(java.lang.String autoScalingMetric)
        Parameters:
        autoScalingMetric - Metric your cluster will track in order to scale in and out. For example, CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all nodes in a cluster.
        Returns:
        builder
      • maxNodeCount

        public KxClusterAutoScalingConfigurationArgs.Builder maxNodeCount​(com.pulumi.core.Output<java.lang.Integer> maxNodeCount)
        Parameters:
        maxNodeCount - Highest number of nodes to scale. Cannot be greater than 5
        Returns:
        builder
      • metricTarget

        public KxClusterAutoScalingConfigurationArgs.Builder metricTarget​(com.pulumi.core.Output<java.lang.Double> metricTarget)
        Parameters:
        metricTarget - Desired value of chosen `auto_scaling_metric`. When metric drops below this value, cluster will scale in. When metric goes above this value, cluster will scale out. Can be set between 0 and 100 percent.
        Returns:
        builder
      • metricTarget

        public KxClusterAutoScalingConfigurationArgs.Builder metricTarget​(java.lang.Double metricTarget)
        Parameters:
        metricTarget - Desired value of chosen `auto_scaling_metric`. When metric drops below this value, cluster will scale in. When metric goes above this value, cluster will scale out. Can be set between 0 and 100 percent.
        Returns:
        builder
      • minNodeCount

        public KxClusterAutoScalingConfigurationArgs.Builder minNodeCount​(com.pulumi.core.Output<java.lang.Integer> minNodeCount)
        Parameters:
        minNodeCount - Lowest number of nodes to scale. Must be at least 1 and less than the `max_node_count`. If nodes in cluster belong to multiple availability zones, then `min_node_count` must be at least 3.
        Returns:
        builder
      • minNodeCount

        public KxClusterAutoScalingConfigurationArgs.Builder minNodeCount​(java.lang.Integer minNodeCount)
        Parameters:
        minNodeCount - Lowest number of nodes to scale. Must be at least 1 and less than the `max_node_count`. If nodes in cluster belong to multiple availability zones, then `min_node_count` must be at least 3.
        Returns:
        builder
      • scaleInCooldownSeconds

        public KxClusterAutoScalingConfigurationArgs.Builder scaleInCooldownSeconds​(com.pulumi.core.Output<java.lang.Double> scaleInCooldownSeconds)
        Parameters:
        scaleInCooldownSeconds - Duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.
        Returns:
        builder
      • scaleInCooldownSeconds

        public KxClusterAutoScalingConfigurationArgs.Builder scaleInCooldownSeconds​(java.lang.Double scaleInCooldownSeconds)
        Parameters:
        scaleInCooldownSeconds - Duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.
        Returns:
        builder
      • scaleOutCooldownSeconds

        public KxClusterAutoScalingConfigurationArgs.Builder scaleOutCooldownSeconds​(com.pulumi.core.Output<java.lang.Double> scaleOutCooldownSeconds)
        Parameters:
        scaleOutCooldownSeconds - Duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.
        Returns:
        builder
      • scaleOutCooldownSeconds

        public KxClusterAutoScalingConfigurationArgs.Builder scaleOutCooldownSeconds​(java.lang.Double scaleOutCooldownSeconds)
        Parameters:
        scaleOutCooldownSeconds - Duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.
        Returns:
        builder