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

com.pulumi.aws.opsworks.inputs.MemcachedLayerLoadBasedAutoScalingArgs 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.opsworks.inputs;

import com.pulumi.aws.opsworks.inputs.MemcachedLayerLoadBasedAutoScalingDownscalingArgs;
import com.pulumi.aws.opsworks.inputs.MemcachedLayerLoadBasedAutoScalingUpscalingArgs;
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 MemcachedLayerLoadBasedAutoScalingArgs extends com.pulumi.resources.ResourceArgs {

    public static final MemcachedLayerLoadBasedAutoScalingArgs Empty = new MemcachedLayerLoadBasedAutoScalingArgs();

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

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

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

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

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

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

    private MemcachedLayerLoadBasedAutoScalingArgs() {}

    private MemcachedLayerLoadBasedAutoScalingArgs(MemcachedLayerLoadBasedAutoScalingArgs $) {
        this.downscaling = $.downscaling;
        this.enable = $.enable;
        this.upscaling = $.upscaling;
    }

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

    public static final class Builder {
        private MemcachedLayerLoadBasedAutoScalingArgs $;

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

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

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

        public Builder downscaling(MemcachedLayerLoadBasedAutoScalingDownscalingArgs downscaling) {
            return downscaling(Output.of(downscaling));
        }

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

        public Builder enable(Boolean enable) {
            return enable(Output.of(enable));
        }

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

        public Builder upscaling(MemcachedLayerLoadBasedAutoScalingUpscalingArgs upscaling) {
            return upscaling(Output.of(upscaling));
        }

        public MemcachedLayerLoadBasedAutoScalingArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy