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

com.pulumi.spotinst.inputs.ElastigroupAzureV3ScalingDownPolicyActionArgs Maven / Gradle / Ivy

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.spotinst.inputs;

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


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

    public static final ElastigroupAzureV3ScalingDownPolicyActionArgs Empty = new ElastigroupAzureV3ScalingDownPolicyActionArgs();

    @Import(name="adjustment")
    private @Nullable Output adjustment;

    public Optional> adjustment() {
        return Optional.ofNullable(this.adjustment);
    }

    @Import(name="maximum")
    private @Nullable Output maximum;

    public Optional> maximum() {
        return Optional.ofNullable(this.maximum);
    }

    @Import(name="minimum")
    private @Nullable Output minimum;

    public Optional> minimum() {
        return Optional.ofNullable(this.minimum);
    }

    @Import(name="target")
    private @Nullable Output target;

    public Optional> target() {
        return Optional.ofNullable(this.target);
    }

    @Import(name="type")
    private @Nullable Output type;

    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private ElastigroupAzureV3ScalingDownPolicyActionArgs() {}

    private ElastigroupAzureV3ScalingDownPolicyActionArgs(ElastigroupAzureV3ScalingDownPolicyActionArgs $) {
        this.adjustment = $.adjustment;
        this.maximum = $.maximum;
        this.minimum = $.minimum;
        this.target = $.target;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ElastigroupAzureV3ScalingDownPolicyActionArgs $;

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

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

        public Builder adjustment(@Nullable Output adjustment) {
            $.adjustment = adjustment;
            return this;
        }

        public Builder adjustment(String adjustment) {
            return adjustment(Output.of(adjustment));
        }

        public Builder maximum(@Nullable Output maximum) {
            $.maximum = maximum;
            return this;
        }

        public Builder maximum(String maximum) {
            return maximum(Output.of(maximum));
        }

        public Builder minimum(@Nullable Output minimum) {
            $.minimum = minimum;
            return this;
        }

        public Builder minimum(String minimum) {
            return minimum(Output.of(minimum));
        }

        public Builder target(@Nullable Output target) {
            $.target = target;
            return this;
        }

        public Builder target(String target) {
            return target(Output.of(target));
        }

        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        public Builder type(String type) {
            return type(Output.of(type));
        }

        public ElastigroupAzureV3ScalingDownPolicyActionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy