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

com.pulumi.azurenative.azurelargeinstance.outputs.StoragePropertiesResponse Maven / Gradle / Ivy

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

import com.pulumi.azurenative.azurelargeinstance.outputs.StorageBillingPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class StoragePropertiesResponse {
    /**
     * @return the kind of storage instance
     * 
     */
    private @Nullable String generation;
    /**
     * @return the hardware type of the storage instance
     * 
     */
    private @Nullable String hardwareType;
    /**
     * @return the offering type for which the resource is getting provisioned
     * 
     */
    private @Nullable String offeringType;
    /**
     * @return State of provisioning of the AzureLargeStorageInstance
     * 
     */
    private String provisioningState;
    /**
     * @return the billing related information for the resource
     * 
     */
    private @Nullable StorageBillingPropertiesResponse storageBillingProperties;
    /**
     * @return the storage protocol for which the resource is getting provisioned
     * 
     */
    private @Nullable String storageType;
    /**
     * @return the workload for which the resource is getting provisioned
     * 
     */
    private @Nullable String workloadType;

    private StoragePropertiesResponse() {}
    /**
     * @return the kind of storage instance
     * 
     */
    public Optional generation() {
        return Optional.ofNullable(this.generation);
    }
    /**
     * @return the hardware type of the storage instance
     * 
     */
    public Optional hardwareType() {
        return Optional.ofNullable(this.hardwareType);
    }
    /**
     * @return the offering type for which the resource is getting provisioned
     * 
     */
    public Optional offeringType() {
        return Optional.ofNullable(this.offeringType);
    }
    /**
     * @return State of provisioning of the AzureLargeStorageInstance
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return the billing related information for the resource
     * 
     */
    public Optional storageBillingProperties() {
        return Optional.ofNullable(this.storageBillingProperties);
    }
    /**
     * @return the storage protocol for which the resource is getting provisioned
     * 
     */
    public Optional storageType() {
        return Optional.ofNullable(this.storageType);
    }
    /**
     * @return the workload for which the resource is getting provisioned
     * 
     */
    public Optional workloadType() {
        return Optional.ofNullable(this.workloadType);
    }

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

    public static Builder builder(StoragePropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String generation;
        private @Nullable String hardwareType;
        private @Nullable String offeringType;
        private String provisioningState;
        private @Nullable StorageBillingPropertiesResponse storageBillingProperties;
        private @Nullable String storageType;
        private @Nullable String workloadType;
        public Builder() {}
        public Builder(StoragePropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.generation = defaults.generation;
    	      this.hardwareType = defaults.hardwareType;
    	      this.offeringType = defaults.offeringType;
    	      this.provisioningState = defaults.provisioningState;
    	      this.storageBillingProperties = defaults.storageBillingProperties;
    	      this.storageType = defaults.storageType;
    	      this.workloadType = defaults.workloadType;
        }

        @CustomType.Setter
        public Builder generation(@Nullable String generation) {

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

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

            this.offeringType = offeringType;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("StoragePropertiesResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder storageBillingProperties(@Nullable StorageBillingPropertiesResponse storageBillingProperties) {

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

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

            this.workloadType = workloadType;
            return this;
        }
        public StoragePropertiesResponse build() {
            final var _resultValue = new StoragePropertiesResponse();
            _resultValue.generation = generation;
            _resultValue.hardwareType = hardwareType;
            _resultValue.offeringType = offeringType;
            _resultValue.provisioningState = provisioningState;
            _resultValue.storageBillingProperties = storageBillingProperties;
            _resultValue.storageType = storageType;
            _resultValue.workloadType = workloadType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy