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

com.pulumi.aws.appautoscaling.inputs.TargetSuspendedStateArgs Maven / Gradle / Ivy

// *** 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.appautoscaling.inputs;

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


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

    public static final TargetSuspendedStateArgs Empty = new TargetSuspendedStateArgs();

    /**
     * Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
     * 
     */
    @Import(name="dynamicScalingInSuspended")
    private @Nullable Output dynamicScalingInSuspended;

    /**
     * @return Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
     * 
     */
    public Optional> dynamicScalingInSuspended() {
        return Optional.ofNullable(this.dynamicScalingInSuspended);
    }

    /**
     * Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
     * 
     */
    @Import(name="dynamicScalingOutSuspended")
    private @Nullable Output dynamicScalingOutSuspended;

    /**
     * @return Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
     * 
     */
    public Optional> dynamicScalingOutSuspended() {
        return Optional.ofNullable(this.dynamicScalingOutSuspended);
    }

    /**
     * Whether scheduled scaling is suspended. Default is `false`.
     * 
     */
    @Import(name="scheduledScalingSuspended")
    private @Nullable Output scheduledScalingSuspended;

    /**
     * @return Whether scheduled scaling is suspended. Default is `false`.
     * 
     */
    public Optional> scheduledScalingSuspended() {
        return Optional.ofNullable(this.scheduledScalingSuspended);
    }

    private TargetSuspendedStateArgs() {}

    private TargetSuspendedStateArgs(TargetSuspendedStateArgs $) {
        this.dynamicScalingInSuspended = $.dynamicScalingInSuspended;
        this.dynamicScalingOutSuspended = $.dynamicScalingOutSuspended;
        this.scheduledScalingSuspended = $.scheduledScalingSuspended;
    }

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

    public static final class Builder {
        private TargetSuspendedStateArgs $;

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

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

        /**
         * @param dynamicScalingInSuspended Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
         * 
         * @return builder
         * 
         */
        public Builder dynamicScalingInSuspended(@Nullable Output dynamicScalingInSuspended) {
            $.dynamicScalingInSuspended = dynamicScalingInSuspended;
            return this;
        }

        /**
         * @param dynamicScalingInSuspended Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
         * 
         * @return builder
         * 
         */
        public Builder dynamicScalingInSuspended(Boolean dynamicScalingInSuspended) {
            return dynamicScalingInSuspended(Output.of(dynamicScalingInSuspended));
        }

        /**
         * @param dynamicScalingOutSuspended Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
         * 
         * @return builder
         * 
         */
        public Builder dynamicScalingOutSuspended(@Nullable Output dynamicScalingOutSuspended) {
            $.dynamicScalingOutSuspended = dynamicScalingOutSuspended;
            return this;
        }

        /**
         * @param dynamicScalingOutSuspended Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
         * 
         * @return builder
         * 
         */
        public Builder dynamicScalingOutSuspended(Boolean dynamicScalingOutSuspended) {
            return dynamicScalingOutSuspended(Output.of(dynamicScalingOutSuspended));
        }

        /**
         * @param scheduledScalingSuspended Whether scheduled scaling is suspended. Default is `false`.
         * 
         * @return builder
         * 
         */
        public Builder scheduledScalingSuspended(@Nullable Output scheduledScalingSuspended) {
            $.scheduledScalingSuspended = scheduledScalingSuspended;
            return this;
        }

        /**
         * @param scheduledScalingSuspended Whether scheduled scaling is suspended. Default is `false`.
         * 
         * @return builder
         * 
         */
        public Builder scheduledScalingSuspended(Boolean scheduledScalingSuspended) {
            return scheduledScalingSuspended(Output.of(scheduledScalingSuspended));
        }

        public TargetSuspendedStateArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy