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

com.pulumi.azurenative.recoveryservices.outputs.OSDiskDetailsResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.recoveryservices.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 OSDiskDetailsResponse {
    /**
     * @return The type of the OS on the VM.
     * 
     */
    private @Nullable String osType;
    /**
     * @return The id of the disk containing the OS.
     * 
     */
    private @Nullable String osVhdId;
    /**
     * @return The OS disk VHD name.
     * 
     */
    private @Nullable String vhdName;

    private OSDiskDetailsResponse() {}
    /**
     * @return The type of the OS on the VM.
     * 
     */
    public Optional osType() {
        return Optional.ofNullable(this.osType);
    }
    /**
     * @return The id of the disk containing the OS.
     * 
     */
    public Optional osVhdId() {
        return Optional.ofNullable(this.osVhdId);
    }
    /**
     * @return The OS disk VHD name.
     * 
     */
    public Optional vhdName() {
        return Optional.ofNullable(this.vhdName);
    }

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

    public static Builder builder(OSDiskDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String osType;
        private @Nullable String osVhdId;
        private @Nullable String vhdName;
        public Builder() {}
        public Builder(OSDiskDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.osType = defaults.osType;
    	      this.osVhdId = defaults.osVhdId;
    	      this.vhdName = defaults.vhdName;
        }

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

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

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

            this.vhdName = vhdName;
            return this;
        }
        public OSDiskDetailsResponse build() {
            final var _resultValue = new OSDiskDetailsResponse();
            _resultValue.osType = osType;
            _resultValue.osVhdId = osVhdId;
            _resultValue.vhdName = vhdName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy