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

com.pulumi.azurenative.operationalinsights.outputs.CapacityReservationPropertiesResponse 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.operationalinsights.outputs;

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

@CustomType
public final class CapacityReservationPropertiesResponse {
    /**
     * @return The last time Sku was updated.
     * 
     */
    private String lastSkuUpdate;
    /**
     * @return Minimum CapacityReservation value in GB.
     * 
     */
    private Double minCapacity;

    private CapacityReservationPropertiesResponse() {}
    /**
     * @return The last time Sku was updated.
     * 
     */
    public String lastSkuUpdate() {
        return this.lastSkuUpdate;
    }
    /**
     * @return Minimum CapacityReservation value in GB.
     * 
     */
    public Double minCapacity() {
        return this.minCapacity;
    }

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

    public static Builder builder(CapacityReservationPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String lastSkuUpdate;
        private Double minCapacity;
        public Builder() {}
        public Builder(CapacityReservationPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.lastSkuUpdate = defaults.lastSkuUpdate;
    	      this.minCapacity = defaults.minCapacity;
        }

        @CustomType.Setter
        public Builder lastSkuUpdate(String lastSkuUpdate) {
            if (lastSkuUpdate == null) {
              throw new MissingRequiredPropertyException("CapacityReservationPropertiesResponse", "lastSkuUpdate");
            }
            this.lastSkuUpdate = lastSkuUpdate;
            return this;
        }
        @CustomType.Setter
        public Builder minCapacity(Double minCapacity) {
            if (minCapacity == null) {
              throw new MissingRequiredPropertyException("CapacityReservationPropertiesResponse", "minCapacity");
            }
            this.minCapacity = minCapacity;
            return this;
        }
        public CapacityReservationPropertiesResponse build() {
            final var _resultValue = new CapacityReservationPropertiesResponse();
            _resultValue.lastSkuUpdate = lastSkuUpdate;
            _resultValue.minCapacity = minCapacity;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy