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

com.pulumi.azurenative.storagepool.outputs.IscsiLunResponse Maven / Gradle / Ivy

The 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.storagepool.outputs;

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

@CustomType
public final class IscsiLunResponse {
    /**
     * @return Specifies the Logical Unit Number of the iSCSI LUN.
     * 
     */
    private Integer lun;
    /**
     * @return Azure Resource ID of the Managed Disk.
     * 
     */
    private String managedDiskAzureResourceId;
    /**
     * @return User defined name for iSCSI LUN; example: "lun0"
     * 
     */
    private String name;

    private IscsiLunResponse() {}
    /**
     * @return Specifies the Logical Unit Number of the iSCSI LUN.
     * 
     */
    public Integer lun() {
        return this.lun;
    }
    /**
     * @return Azure Resource ID of the Managed Disk.
     * 
     */
    public String managedDiskAzureResourceId() {
        return this.managedDiskAzureResourceId;
    }
    /**
     * @return User defined name for iSCSI LUN; example: "lun0"
     * 
     */
    public String name() {
        return this.name;
    }

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

    public static Builder builder(IscsiLunResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer lun;
        private String managedDiskAzureResourceId;
        private String name;
        public Builder() {}
        public Builder(IscsiLunResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.lun = defaults.lun;
    	      this.managedDiskAzureResourceId = defaults.managedDiskAzureResourceId;
    	      this.name = defaults.name;
        }

        @CustomType.Setter
        public Builder lun(Integer lun) {
            if (lun == null) {
              throw new MissingRequiredPropertyException("IscsiLunResponse", "lun");
            }
            this.lun = lun;
            return this;
        }
        @CustomType.Setter
        public Builder managedDiskAzureResourceId(String managedDiskAzureResourceId) {
            if (managedDiskAzureResourceId == null) {
              throw new MissingRequiredPropertyException("IscsiLunResponse", "managedDiskAzureResourceId");
            }
            this.managedDiskAzureResourceId = managedDiskAzureResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("IscsiLunResponse", "name");
            }
            this.name = name;
            return this;
        }
        public IscsiLunResponse build() {
            final var _resultValue = new IscsiLunResponse();
            _resultValue.lun = lun;
            _resultValue.managedDiskAzureResourceId = managedDiskAzureResourceId;
            _resultValue.name = name;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy