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

com.pulumi.azurenative.containerstorage.outputs.DiskResponse 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.containerstorage.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class DiskResponse {
    /**
     * @return ID is the disk identifier visible to the OS. It is typically the WWN or disk ID in formats such as eui.e8238fa6bf530001001b448b45263379 or 0x5002cf6cbc5dd460
     * 
     */
    private String id;
    /**
     * @return Reference is the location of the disk in an external system.
     * 
     */
    private String reference;

    private DiskResponse() {}
    /**
     * @return ID is the disk identifier visible to the OS. It is typically the WWN or disk ID in formats such as eui.e8238fa6bf530001001b448b45263379 or 0x5002cf6cbc5dd460
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Reference is the location of the disk in an external system.
     * 
     */
    public String reference() {
        return this.reference;
    }

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

    public static Builder builder(DiskResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String reference;
        public Builder() {}
        public Builder(DiskResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.reference = defaults.reference;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("DiskResponse", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder reference(String reference) {
            if (reference == null) {
              throw new MissingRequiredPropertyException("DiskResponse", "reference");
            }
            this.reference = reference;
            return this;
        }
        public DiskResponse build() {
            final var _resultValue = new DiskResponse();
            _resultValue.id = id;
            _resultValue.reference = reference;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy