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

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

Go to download

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

There is a newer version: 6.66.3
Show 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 ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs Empty = new ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs();

    /**
     * Describes the interval in milliseconds between checkpoint operations.
     * 
     */
    @Import(name="checkpointInterval")
    private @Nullable Output checkpointInterval;

    /**
     * @return Describes the interval in milliseconds between checkpoint operations.
     * 
     */
    public Optional> checkpointInterval() {
        return Optional.ofNullable(this.checkpointInterval);
    }

    /**
     * Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
     * 
     */
    @Import(name="checkpointingEnabled")
    private @Nullable Output checkpointingEnabled;

    /**
     * @return Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
     * 
     */
    public Optional> checkpointingEnabled() {
        return Optional.ofNullable(this.checkpointingEnabled);
    }

    /**
     * Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior. Valid values: `CUSTOM`, `DEFAULT`. Set this attribute to `CUSTOM` in order for any specified `checkpointing_enabled`, `checkpoint_interval`, or `min_pause_between_checkpoints` attribute values to be effective. If this attribute is set to `DEFAULT`, the application will always use the following values:
     * * `checkpointing_enabled = true`
     * * `checkpoint_interval = 60000`
     * * `min_pause_between_checkpoints = 5000`
     * 
     */
    @Import(name="configurationType", required=true)
    private Output configurationType;

    /**
     * @return Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior. Valid values: `CUSTOM`, `DEFAULT`. Set this attribute to `CUSTOM` in order for any specified `checkpointing_enabled`, `checkpoint_interval`, or `min_pause_between_checkpoints` attribute values to be effective. If this attribute is set to `DEFAULT`, the application will always use the following values:
     * * `checkpointing_enabled = true`
     * * `checkpoint_interval = 60000`
     * * `min_pause_between_checkpoints = 5000`
     * 
     */
    public Output configurationType() {
        return this.configurationType;
    }

    /**
     * Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.
     * 
     */
    @Import(name="minPauseBetweenCheckpoints")
    private @Nullable Output minPauseBetweenCheckpoints;

    /**
     * @return Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.
     * 
     */
    public Optional> minPauseBetweenCheckpoints() {
        return Optional.ofNullable(this.minPauseBetweenCheckpoints);
    }

    private ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs() {}

    private ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs(ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs $) {
        this.checkpointInterval = $.checkpointInterval;
        this.checkpointingEnabled = $.checkpointingEnabled;
        this.configurationType = $.configurationType;
        this.minPauseBetweenCheckpoints = $.minPauseBetweenCheckpoints;
    }

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

    public static final class Builder {
        private ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs $;

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

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

        /**
         * @param checkpointInterval Describes the interval in milliseconds between checkpoint operations.
         * 
         * @return builder
         * 
         */
        public Builder checkpointInterval(@Nullable Output checkpointInterval) {
            $.checkpointInterval = checkpointInterval;
            return this;
        }

        /**
         * @param checkpointInterval Describes the interval in milliseconds between checkpoint operations.
         * 
         * @return builder
         * 
         */
        public Builder checkpointInterval(Integer checkpointInterval) {
            return checkpointInterval(Output.of(checkpointInterval));
        }

        /**
         * @param checkpointingEnabled Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
         * 
         * @return builder
         * 
         */
        public Builder checkpointingEnabled(@Nullable Output checkpointingEnabled) {
            $.checkpointingEnabled = checkpointingEnabled;
            return this;
        }

        /**
         * @param checkpointingEnabled Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
         * 
         * @return builder
         * 
         */
        public Builder checkpointingEnabled(Boolean checkpointingEnabled) {
            return checkpointingEnabled(Output.of(checkpointingEnabled));
        }

        /**
         * @param configurationType Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior. Valid values: `CUSTOM`, `DEFAULT`. Set this attribute to `CUSTOM` in order for any specified `checkpointing_enabled`, `checkpoint_interval`, or `min_pause_between_checkpoints` attribute values to be effective. If this attribute is set to `DEFAULT`, the application will always use the following values:
         * * `checkpointing_enabled = true`
         * * `checkpoint_interval = 60000`
         * * `min_pause_between_checkpoints = 5000`
         * 
         * @return builder
         * 
         */
        public Builder configurationType(Output configurationType) {
            $.configurationType = configurationType;
            return this;
        }

        /**
         * @param configurationType Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior. Valid values: `CUSTOM`, `DEFAULT`. Set this attribute to `CUSTOM` in order for any specified `checkpointing_enabled`, `checkpoint_interval`, or `min_pause_between_checkpoints` attribute values to be effective. If this attribute is set to `DEFAULT`, the application will always use the following values:
         * * `checkpointing_enabled = true`
         * * `checkpoint_interval = 60000`
         * * `min_pause_between_checkpoints = 5000`
         * 
         * @return builder
         * 
         */
        public Builder configurationType(String configurationType) {
            return configurationType(Output.of(configurationType));
        }

        /**
         * @param minPauseBetweenCheckpoints Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.
         * 
         * @return builder
         * 
         */
        public Builder minPauseBetweenCheckpoints(@Nullable Output minPauseBetweenCheckpoints) {
            $.minPauseBetweenCheckpoints = minPauseBetweenCheckpoints;
            return this;
        }

        /**
         * @param minPauseBetweenCheckpoints Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.
         * 
         * @return builder
         * 
         */
        public Builder minPauseBetweenCheckpoints(Integer minPauseBetweenCheckpoints) {
            return minPauseBetweenCheckpoints(Output.of(minPauseBetweenCheckpoints));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy