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

com.pulumi.aws.ec2.inputs.LaunchConfigurationRootBlockDeviceArgs 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.ec2.inputs;

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


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

    public static final LaunchConfigurationRootBlockDeviceArgs Empty = new LaunchConfigurationRootBlockDeviceArgs();

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

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

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

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

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

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

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

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

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

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

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

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

    private LaunchConfigurationRootBlockDeviceArgs() {}

    private LaunchConfigurationRootBlockDeviceArgs(LaunchConfigurationRootBlockDeviceArgs $) {
        this.deleteOnTermination = $.deleteOnTermination;
        this.encrypted = $.encrypted;
        this.iops = $.iops;
        this.throughput = $.throughput;
        this.volumeSize = $.volumeSize;
        this.volumeType = $.volumeType;
    }

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

    public static final class Builder {
        private LaunchConfigurationRootBlockDeviceArgs $;

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

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

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

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

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

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

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

        public Builder iops(Integer iops) {
            return iops(Output.of(iops));
        }

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

        public Builder throughput(Integer throughput) {
            return throughput(Output.of(throughput));
        }

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

        public Builder volumeSize(Integer volumeSize) {
            return volumeSize(Output.of(volumeSize));
        }

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

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

        public LaunchConfigurationRootBlockDeviceArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy