All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.kinesisanalyticsv2.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs Empty = new ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs();

    /**
     * Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
     * 
     */
    @Import(name="autoScalingEnabled")
    private @Nullable Output autoScalingEnabled;

    /**
     * @return Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
     * 
     */
    public Optional> autoScalingEnabled() {
        return Optional.ofNullable(this.autoScalingEnabled);
    }

    /**
     * Describes whether the application uses the default parallelism for the Kinesis Data Analytics service. Valid values: `CUSTOM`, `DEFAULT`. Set this attribute to `CUSTOM` in order for any specified `auto_scaling_enabled`, `parallelism`, or `parallelism_per_kpu` attribute values to be effective.
     * 
     */
    @Import(name="configurationType", required=true)
    private Output configurationType;

    /**
     * @return Describes whether the application uses the default parallelism for the Kinesis Data Analytics service. Valid values: `CUSTOM`, `DEFAULT`. Set this attribute to `CUSTOM` in order for any specified `auto_scaling_enabled`, `parallelism`, or `parallelism_per_kpu` attribute values to be effective.
     * 
     */
    public Output configurationType() {
        return this.configurationType;
    }

    /**
     * Describes the initial number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform.
     * 
     */
    @Import(name="parallelism")
    private @Nullable Output parallelism;

    /**
     * @return Describes the initial number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform.
     * 
     */
    public Optional> parallelism() {
        return Optional.ofNullable(this.parallelism);
    }

    /**
     * Describes the number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application.
     * 
     */
    @Import(name="parallelismPerKpu")
    private @Nullable Output parallelismPerKpu;

    /**
     * @return Describes the number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application.
     * 
     */
    public Optional> parallelismPerKpu() {
        return Optional.ofNullable(this.parallelismPerKpu);
    }

    private ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs() {}

    private ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs(ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs $) {
        this.autoScalingEnabled = $.autoScalingEnabled;
        this.configurationType = $.configurationType;
        this.parallelism = $.parallelism;
        this.parallelismPerKpu = $.parallelismPerKpu;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs $;

        public Builder() {
            $ = new ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs();
        }

        public Builder(ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs defaults) {
            $ = new ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param autoScalingEnabled Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
         * 
         * @return builder
         * 
         */
        public Builder autoScalingEnabled(@Nullable Output autoScalingEnabled) {
            $.autoScalingEnabled = autoScalingEnabled;
            return this;
        }

        /**
         * @param autoScalingEnabled Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.
         * 
         * @return builder
         * 
         */
        public Builder autoScalingEnabled(Boolean autoScalingEnabled) {
            return autoScalingEnabled(Output.of(autoScalingEnabled));
        }

        /**
         * @param configurationType Describes whether the application uses the default parallelism for the Kinesis Data Analytics service. Valid values: `CUSTOM`, `DEFAULT`. Set this attribute to `CUSTOM` in order for any specified `auto_scaling_enabled`, `parallelism`, or `parallelism_per_kpu` attribute values to be effective.
         * 
         * @return builder
         * 
         */
        public Builder configurationType(Output configurationType) {
            $.configurationType = configurationType;
            return this;
        }

        /**
         * @param configurationType Describes whether the application uses the default parallelism for the Kinesis Data Analytics service. Valid values: `CUSTOM`, `DEFAULT`. Set this attribute to `CUSTOM` in order for any specified `auto_scaling_enabled`, `parallelism`, or `parallelism_per_kpu` attribute values to be effective.
         * 
         * @return builder
         * 
         */
        public Builder configurationType(String configurationType) {
            return configurationType(Output.of(configurationType));
        }

        /**
         * @param parallelism Describes the initial number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform.
         * 
         * @return builder
         * 
         */
        public Builder parallelism(@Nullable Output parallelism) {
            $.parallelism = parallelism;
            return this;
        }

        /**
         * @param parallelism Describes the initial number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform.
         * 
         * @return builder
         * 
         */
        public Builder parallelism(Integer parallelism) {
            return parallelism(Output.of(parallelism));
        }

        /**
         * @param parallelismPerKpu Describes the number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application.
         * 
         * @return builder
         * 
         */
        public Builder parallelismPerKpu(@Nullable Output parallelismPerKpu) {
            $.parallelismPerKpu = parallelismPerKpu;
            return this;
        }

        /**
         * @param parallelismPerKpu Describes the number of parallel tasks that a Flink-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application.
         * 
         * @return builder
         * 
         */
        public Builder parallelismPerKpu(Integer parallelismPerKpu) {
            return parallelismPerKpu(Output.of(parallelismPerKpu));
        }

        public ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs build() {
            if ($.configurationType == null) {
                throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs", "configurationType");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy