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

com.pulumi.azurenative.azurefleet.outputs.DiffDiskSettingsResponse 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.azurefleet.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DiffDiskSettingsResponse {
    /**
     * @return Specifies the ephemeral disk settings for operating system disk.
     * 
     */
    private @Nullable String option;
    /**
     * @return Specifies the ephemeral disk placement for operating system disk. Possible
     * values are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is:
     * **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk**
     * is used. Refer to the VM size documentation for Windows VM at
     * https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at
     * https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM
     * sizes exposes a cache disk.
     * 
     */
    private @Nullable String placement;

    private DiffDiskSettingsResponse() {}
    /**
     * @return Specifies the ephemeral disk settings for operating system disk.
     * 
     */
    public Optional option() {
        return Optional.ofNullable(this.option);
    }
    /**
     * @return Specifies the ephemeral disk placement for operating system disk. Possible
     * values are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is:
     * **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk**
     * is used. Refer to the VM size documentation for Windows VM at
     * https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at
     * https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM
     * sizes exposes a cache disk.
     * 
     */
    public Optional placement() {
        return Optional.ofNullable(this.placement);
    }

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

    public static Builder builder(DiffDiskSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String option;
        private @Nullable String placement;
        public Builder() {}
        public Builder(DiffDiskSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.option = defaults.option;
    	      this.placement = defaults.placement;
        }

        @CustomType.Setter
        public Builder option(@Nullable String option) {

            this.option = option;
            return this;
        }
        @CustomType.Setter
        public Builder placement(@Nullable String placement) {

            this.placement = placement;
            return this;
        }
        public DiffDiskSettingsResponse build() {
            final var _resultValue = new DiffDiskSettingsResponse();
            _resultValue.option = option;
            _resultValue.placement = placement;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy