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

com.pulumi.spotinst.aws.inputs.MrScalarStepsFileArgs 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.aws.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final MrScalarStepsFileArgs Empty = new MrScalarStepsFileArgs();

    @Import(name="bucket", required=true)
    private Output bucket;

    public Output bucket() {
        return this.bucket;
    }

    @Import(name="key", required=true)
    private Output key;

    public Output key() {
        return this.key;
    }

    private MrScalarStepsFileArgs() {}

    private MrScalarStepsFileArgs(MrScalarStepsFileArgs $) {
        this.bucket = $.bucket;
        this.key = $.key;
    }

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

    public static final class Builder {
        private MrScalarStepsFileArgs $;

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

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

        public Builder bucket(Output bucket) {
            $.bucket = bucket;
            return this;
        }

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

        public Builder key(Output key) {
            $.key = key;
            return this;
        }

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

        public MrScalarStepsFileArgs build() {
            if ($.bucket == null) {
                throw new MissingRequiredPropertyException("MrScalarStepsFileArgs", "bucket");
            }
            if ($.key == null) {
                throw new MissingRequiredPropertyException("MrScalarStepsFileArgs", "key");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy