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

com.pulumi.azurenative.elasticsan.outputs.GetElasticSanResult 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.elasticsan.outputs;

import com.pulumi.azurenative.elasticsan.outputs.SkuResponse;
import com.pulumi.azurenative.elasticsan.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetElasticSanResult {
    /**
     * @return Logical zone for Elastic San resource; example: ["1"].
     * 
     */
    private @Nullable List availabilityZones;
    /**
     * @return Base size of the Elastic San appliance in TiB.
     * 
     */
    private Double baseSizeTiB;
    /**
     * @return Extended size of the Elastic San appliance in TiB.
     * 
     */
    private Double extendedCapacitySizeTiB;
    /**
     * @return Azure resource identifier.
     * 
     */
    private String id;
    /**
     * @return The geo-location where the resource lives.
     * 
     */
    private @Nullable String location;
    /**
     * @return Azure resource name.
     * 
     */
    private String name;
    /**
     * @return State of the operation on the resource.
     * 
     */
    private String provisioningState;
    /**
     * @return resource sku
     * 
     */
    private SkuResponse sku;
    /**
     * @return Resource metadata required by ARM RPC
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Azure resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Total Provisioned IOPS of the Elastic San appliance.
     * 
     */
    private Double totalIops;
    /**
     * @return Total Provisioned MBps Elastic San appliance.
     * 
     */
    private Double totalMBps;
    /**
     * @return Total size of the Elastic San appliance in TB.
     * 
     */
    private Double totalSizeTiB;
    /**
     * @return Total size of the provisioned Volumes in GiB.
     * 
     */
    private Double totalVolumeSizeGiB;
    /**
     * @return Azure resource type.
     * 
     */
    private String type;
    /**
     * @return Total number of volume groups in this Elastic San appliance.
     * 
     */
    private Double volumeGroupCount;

    private GetElasticSanResult() {}
    /**
     * @return Logical zone for Elastic San resource; example: ["1"].
     * 
     */
    public List availabilityZones() {
        return this.availabilityZones == null ? List.of() : this.availabilityZones;
    }
    /**
     * @return Base size of the Elastic San appliance in TiB.
     * 
     */
    public Double baseSizeTiB() {
        return this.baseSizeTiB;
    }
    /**
     * @return Extended size of the Elastic San appliance in TiB.
     * 
     */
    public Double extendedCapacitySizeTiB() {
        return this.extendedCapacitySizeTiB;
    }
    /**
     * @return Azure resource identifier.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The geo-location where the resource lives.
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }
    /**
     * @return Azure resource name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return State of the operation on the resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return resource sku
     * 
     */
    public SkuResponse sku() {
        return this.sku;
    }
    /**
     * @return Resource metadata required by ARM RPC
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Azure resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return Total Provisioned IOPS of the Elastic San appliance.
     * 
     */
    public Double totalIops() {
        return this.totalIops;
    }
    /**
     * @return Total Provisioned MBps Elastic San appliance.
     * 
     */
    public Double totalMBps() {
        return this.totalMBps;
    }
    /**
     * @return Total size of the Elastic San appliance in TB.
     * 
     */
    public Double totalSizeTiB() {
        return this.totalSizeTiB;
    }
    /**
     * @return Total size of the provisioned Volumes in GiB.
     * 
     */
    public Double totalVolumeSizeGiB() {
        return this.totalVolumeSizeGiB;
    }
    /**
     * @return Azure resource type.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Total number of volume groups in this Elastic San appliance.
     * 
     */
    public Double volumeGroupCount() {
        return this.volumeGroupCount;
    }

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

    public static Builder builder(GetElasticSanResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List availabilityZones;
        private Double baseSizeTiB;
        private Double extendedCapacitySizeTiB;
        private String id;
        private @Nullable String location;
        private String name;
        private String provisioningState;
        private SkuResponse sku;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private Double totalIops;
        private Double totalMBps;
        private Double totalSizeTiB;
        private Double totalVolumeSizeGiB;
        private String type;
        private Double volumeGroupCount;
        public Builder() {}
        public Builder(GetElasticSanResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.availabilityZones = defaults.availabilityZones;
    	      this.baseSizeTiB = defaults.baseSizeTiB;
    	      this.extendedCapacitySizeTiB = defaults.extendedCapacitySizeTiB;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.sku = defaults.sku;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.totalIops = defaults.totalIops;
    	      this.totalMBps = defaults.totalMBps;
    	      this.totalSizeTiB = defaults.totalSizeTiB;
    	      this.totalVolumeSizeGiB = defaults.totalVolumeSizeGiB;
    	      this.type = defaults.type;
    	      this.volumeGroupCount = defaults.volumeGroupCount;
        }

        @CustomType.Setter
        public Builder availabilityZones(@Nullable List availabilityZones) {

            this.availabilityZones = availabilityZones;
            return this;
        }
        public Builder availabilityZones(String... availabilityZones) {
            return availabilityZones(List.of(availabilityZones));
        }
        @CustomType.Setter
        public Builder baseSizeTiB(Double baseSizeTiB) {
            if (baseSizeTiB == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "baseSizeTiB");
            }
            this.baseSizeTiB = baseSizeTiB;
            return this;
        }
        @CustomType.Setter
        public Builder extendedCapacitySizeTiB(Double extendedCapacitySizeTiB) {
            if (extendedCapacitySizeTiB == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "extendedCapacitySizeTiB");
            }
            this.extendedCapacitySizeTiB = extendedCapacitySizeTiB;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder location(@Nullable String location) {

            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder sku(SkuResponse sku) {
            if (sku == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "sku");
            }
            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder totalIops(Double totalIops) {
            if (totalIops == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "totalIops");
            }
            this.totalIops = totalIops;
            return this;
        }
        @CustomType.Setter
        public Builder totalMBps(Double totalMBps) {
            if (totalMBps == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "totalMBps");
            }
            this.totalMBps = totalMBps;
            return this;
        }
        @CustomType.Setter
        public Builder totalSizeTiB(Double totalSizeTiB) {
            if (totalSizeTiB == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "totalSizeTiB");
            }
            this.totalSizeTiB = totalSizeTiB;
            return this;
        }
        @CustomType.Setter
        public Builder totalVolumeSizeGiB(Double totalVolumeSizeGiB) {
            if (totalVolumeSizeGiB == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "totalVolumeSizeGiB");
            }
            this.totalVolumeSizeGiB = totalVolumeSizeGiB;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder volumeGroupCount(Double volumeGroupCount) {
            if (volumeGroupCount == null) {
              throw new MissingRequiredPropertyException("GetElasticSanResult", "volumeGroupCount");
            }
            this.volumeGroupCount = volumeGroupCount;
            return this;
        }
        public GetElasticSanResult build() {
            final var _resultValue = new GetElasticSanResult();
            _resultValue.availabilityZones = availabilityZones;
            _resultValue.baseSizeTiB = baseSizeTiB;
            _resultValue.extendedCapacitySizeTiB = extendedCapacitySizeTiB;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.sku = sku;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.totalIops = totalIops;
            _resultValue.totalMBps = totalMBps;
            _resultValue.totalSizeTiB = totalSizeTiB;
            _resultValue.totalVolumeSizeGiB = totalVolumeSizeGiB;
            _resultValue.type = type;
            _resultValue.volumeGroupCount = volumeGroupCount;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy