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

com.pulumi.aws.ec2.inputs.LaunchConfigurationEphemeralBlockDeviceArgs 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.60.0-alpha.1731982519
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.ec2.inputs;

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


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

    public static final LaunchConfigurationEphemeralBlockDeviceArgs Empty = new LaunchConfigurationEphemeralBlockDeviceArgs();

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

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

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

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

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

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

    private LaunchConfigurationEphemeralBlockDeviceArgs() {}

    private LaunchConfigurationEphemeralBlockDeviceArgs(LaunchConfigurationEphemeralBlockDeviceArgs $) {
        this.deviceName = $.deviceName;
        this.noDevice = $.noDevice;
        this.virtualName = $.virtualName;
    }

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

    public static final class Builder {
        private LaunchConfigurationEphemeralBlockDeviceArgs $;

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

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

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

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

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy