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

com.pulumi.azurenative.scvmm.outputs.GetCloudResult Maven / Gradle / Ivy

There is a newer version: 2.82.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.scvmm.outputs;

import com.pulumi.azurenative.scvmm.outputs.CloudCapacityResponse;
import com.pulumi.azurenative.scvmm.outputs.ExtendedLocationResponse;
import com.pulumi.azurenative.scvmm.outputs.StorageQoSPolicyResponse;
import com.pulumi.azurenative.scvmm.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
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 GetCloudResult {
    /**
     * @return Capacity of the cloud.
     * 
     */
    private CloudCapacityResponse cloudCapacity;
    /**
     * @return Name of the cloud in VMMServer.
     * 
     */
    private String cloudName;
    /**
     * @return The extended location.
     * 
     */
    private ExtendedLocationResponse extendedLocation;
    /**
     * @return Resource Id
     * 
     */
    private String id;
    /**
     * @return Gets or sets the inventory Item ID for the resource.
     * 
     */
    private @Nullable String inventoryItemId;
    /**
     * @return Gets or sets the location.
     * 
     */
    private String location;
    /**
     * @return Resource Name
     * 
     */
    private String name;
    /**
     * @return Gets or sets the provisioning state.
     * 
     */
    private String provisioningState;
    /**
     * @return List of QoS policies available for the cloud.
     * 
     */
    private List storageQoSPolicies;
    /**
     * @return The system data.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Resource Type
     * 
     */
    private String type;
    /**
     * @return Unique ID of the cloud.
     * 
     */
    private @Nullable String uuid;
    /**
     * @return ARM Id of the vmmServer resource in which this resource resides.
     * 
     */
    private @Nullable String vmmServerId;

    private GetCloudResult() {}
    /**
     * @return Capacity of the cloud.
     * 
     */
    public CloudCapacityResponse cloudCapacity() {
        return this.cloudCapacity;
    }
    /**
     * @return Name of the cloud in VMMServer.
     * 
     */
    public String cloudName() {
        return this.cloudName;
    }
    /**
     * @return The extended location.
     * 
     */
    public ExtendedLocationResponse extendedLocation() {
        return this.extendedLocation;
    }
    /**
     * @return Resource Id
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Gets or sets the inventory Item ID for the resource.
     * 
     */
    public Optional inventoryItemId() {
        return Optional.ofNullable(this.inventoryItemId);
    }
    /**
     * @return Gets or sets the location.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return Resource Name
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Gets or sets the provisioning state.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return List of QoS policies available for the cloud.
     * 
     */
    public List storageQoSPolicies() {
        return this.storageQoSPolicies;
    }
    /**
     * @return The system data.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource tags
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return Resource Type
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Unique ID of the cloud.
     * 
     */
    public Optional uuid() {
        return Optional.ofNullable(this.uuid);
    }
    /**
     * @return ARM Id of the vmmServer resource in which this resource resides.
     * 
     */
    public Optional vmmServerId() {
        return Optional.ofNullable(this.vmmServerId);
    }

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

    public static Builder builder(GetCloudResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private CloudCapacityResponse cloudCapacity;
        private String cloudName;
        private ExtendedLocationResponse extendedLocation;
        private String id;
        private @Nullable String inventoryItemId;
        private String location;
        private String name;
        private String provisioningState;
        private List storageQoSPolicies;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        private @Nullable String uuid;
        private @Nullable String vmmServerId;
        public Builder() {}
        public Builder(GetCloudResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cloudCapacity = defaults.cloudCapacity;
    	      this.cloudName = defaults.cloudName;
    	      this.extendedLocation = defaults.extendedLocation;
    	      this.id = defaults.id;
    	      this.inventoryItemId = defaults.inventoryItemId;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.storageQoSPolicies = defaults.storageQoSPolicies;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
    	      this.uuid = defaults.uuid;
    	      this.vmmServerId = defaults.vmmServerId;
        }

        @CustomType.Setter
        public Builder cloudCapacity(CloudCapacityResponse cloudCapacity) {
            if (cloudCapacity == null) {
              throw new MissingRequiredPropertyException("GetCloudResult", "cloudCapacity");
            }
            this.cloudCapacity = cloudCapacity;
            return this;
        }
        @CustomType.Setter
        public Builder cloudName(String cloudName) {
            if (cloudName == null) {
              throw new MissingRequiredPropertyException("GetCloudResult", "cloudName");
            }
            this.cloudName = cloudName;
            return this;
        }
        @CustomType.Setter
        public Builder extendedLocation(ExtendedLocationResponse extendedLocation) {
            if (extendedLocation == null) {
              throw new MissingRequiredPropertyException("GetCloudResult", "extendedLocation");
            }
            this.extendedLocation = extendedLocation;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetCloudResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder inventoryItemId(@Nullable String inventoryItemId) {

            this.inventoryItemId = inventoryItemId;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetCloudResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetCloudResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetCloudResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder storageQoSPolicies(List storageQoSPolicies) {
            if (storageQoSPolicies == null) {
              throw new MissingRequiredPropertyException("GetCloudResult", "storageQoSPolicies");
            }
            this.storageQoSPolicies = storageQoSPolicies;
            return this;
        }
        public Builder storageQoSPolicies(StorageQoSPolicyResponse... storageQoSPolicies) {
            return storageQoSPolicies(List.of(storageQoSPolicies));
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetCloudResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetCloudResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder uuid(@Nullable String uuid) {

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

            this.vmmServerId = vmmServerId;
            return this;
        }
        public GetCloudResult build() {
            final var _resultValue = new GetCloudResult();
            _resultValue.cloudCapacity = cloudCapacity;
            _resultValue.cloudName = cloudName;
            _resultValue.extendedLocation = extendedLocation;
            _resultValue.id = id;
            _resultValue.inventoryItemId = inventoryItemId;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.storageQoSPolicies = storageQoSPolicies;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            _resultValue.uuid = uuid;
            _resultValue.vmmServerId = vmmServerId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy