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

com.pulumi.azurenative.batch.inputs.OSDiskArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.batch.inputs;

import com.pulumi.azurenative.batch.inputs.DiffDiskSettingsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final OSDiskArgs Empty = new OSDiskArgs();

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

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

    private OSDiskArgs() {}

    private OSDiskArgs(OSDiskArgs $) {
        this.ephemeralOSDiskSettings = $.ephemeralOSDiskSettings;
    }

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

    public static final class Builder {
        private OSDiskArgs $;

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

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

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

        public Builder ephemeralOSDiskSettings(DiffDiskSettingsArgs ephemeralOSDiskSettings) {
            return ephemeralOSDiskSettings(Output.of(ephemeralOSDiskSettings));
        }

        public OSDiskArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy