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

com.pulumi.azurenative.recoveryservices.outputs.DiskDetailsResponse 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.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DiskDetailsResponse {
    /**
     * @return The hard disk max size in MB.
     * 
     */
    private @Nullable Double maxSizeMB;
    /**
     * @return The VHD Id.
     * 
     */
    private @Nullable String vhdId;
    /**
     * @return The VHD name.
     * 
     */
    private @Nullable String vhdName;
    /**
     * @return The type of the volume.
     * 
     */
    private @Nullable String vhdType;

    private DiskDetailsResponse() {}
    /**
     * @return The hard disk max size in MB.
     * 
     */
    public Optional maxSizeMB() {
        return Optional.ofNullable(this.maxSizeMB);
    }
    /**
     * @return The VHD Id.
     * 
     */
    public Optional vhdId() {
        return Optional.ofNullable(this.vhdId);
    }
    /**
     * @return The VHD name.
     * 
     */
    public Optional vhdName() {
        return Optional.ofNullable(this.vhdName);
    }
    /**
     * @return The type of the volume.
     * 
     */
    public Optional vhdType() {
        return Optional.ofNullable(this.vhdType);
    }

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

    public static Builder builder(DiskDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Double maxSizeMB;
        private @Nullable String vhdId;
        private @Nullable String vhdName;
        private @Nullable String vhdType;
        public Builder() {}
        public Builder(DiskDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.maxSizeMB = defaults.maxSizeMB;
    	      this.vhdId = defaults.vhdId;
    	      this.vhdName = defaults.vhdName;
    	      this.vhdType = defaults.vhdType;
        }

        @CustomType.Setter
        public Builder maxSizeMB(@Nullable Double maxSizeMB) {

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

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

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

            this.vhdType = vhdType;
            return this;
        }
        public DiskDetailsResponse build() {
            final var _resultValue = new DiskDetailsResponse();
            _resultValue.maxSizeMB = maxSizeMB;
            _resultValue.vhdId = vhdId;
            _resultValue.vhdName = vhdName;
            _resultValue.vhdType = vhdType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy