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

com.pulumi.azurenative.sql.outputs.RecommendedActionImpactRecordResponse 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.sql.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 RecommendedActionImpactRecordResponse {
    /**
     * @return Gets the absolute value of this dimension if applicable. e.g., Number of Queries affected
     * 
     */
    private Double absoluteValue;
    /**
     * @return Gets the absolute change in the value of this dimension. e.g., Absolute Disk space change in Megabytes
     * 
     */
    private Double changeValueAbsolute;
    /**
     * @return Gets the relative change in the value of this dimension. e.g., Relative Disk space change in Percentage
     * 
     */
    private Double changeValueRelative;
    /**
     * @return Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
     * 
     */
    private String dimensionName;
    /**
     * @return Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
     * 
     */
    private String unit;

    private RecommendedActionImpactRecordResponse() {}
    /**
     * @return Gets the absolute value of this dimension if applicable. e.g., Number of Queries affected
     * 
     */
    public Double absoluteValue() {
        return this.absoluteValue;
    }
    /**
     * @return Gets the absolute change in the value of this dimension. e.g., Absolute Disk space change in Megabytes
     * 
     */
    public Double changeValueAbsolute() {
        return this.changeValueAbsolute;
    }
    /**
     * @return Gets the relative change in the value of this dimension. e.g., Relative Disk space change in Percentage
     * 
     */
    public Double changeValueRelative() {
        return this.changeValueRelative;
    }
    /**
     * @return Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
     * 
     */
    public String dimensionName() {
        return this.dimensionName;
    }
    /**
     * @return Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
     * 
     */
    public String unit() {
        return this.unit;
    }

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

    public static Builder builder(RecommendedActionImpactRecordResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Double absoluteValue;
        private Double changeValueAbsolute;
        private Double changeValueRelative;
        private String dimensionName;
        private String unit;
        public Builder() {}
        public Builder(RecommendedActionImpactRecordResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.absoluteValue = defaults.absoluteValue;
    	      this.changeValueAbsolute = defaults.changeValueAbsolute;
    	      this.changeValueRelative = defaults.changeValueRelative;
    	      this.dimensionName = defaults.dimensionName;
    	      this.unit = defaults.unit;
        }

        @CustomType.Setter
        public Builder absoluteValue(Double absoluteValue) {
            if (absoluteValue == null) {
              throw new MissingRequiredPropertyException("RecommendedActionImpactRecordResponse", "absoluteValue");
            }
            this.absoluteValue = absoluteValue;
            return this;
        }
        @CustomType.Setter
        public Builder changeValueAbsolute(Double changeValueAbsolute) {
            if (changeValueAbsolute == null) {
              throw new MissingRequiredPropertyException("RecommendedActionImpactRecordResponse", "changeValueAbsolute");
            }
            this.changeValueAbsolute = changeValueAbsolute;
            return this;
        }
        @CustomType.Setter
        public Builder changeValueRelative(Double changeValueRelative) {
            if (changeValueRelative == null) {
              throw new MissingRequiredPropertyException("RecommendedActionImpactRecordResponse", "changeValueRelative");
            }
            this.changeValueRelative = changeValueRelative;
            return this;
        }
        @CustomType.Setter
        public Builder dimensionName(String dimensionName) {
            if (dimensionName == null) {
              throw new MissingRequiredPropertyException("RecommendedActionImpactRecordResponse", "dimensionName");
            }
            this.dimensionName = dimensionName;
            return this;
        }
        @CustomType.Setter
        public Builder unit(String unit) {
            if (unit == null) {
              throw new MissingRequiredPropertyException("RecommendedActionImpactRecordResponse", "unit");
            }
            this.unit = unit;
            return this;
        }
        public RecommendedActionImpactRecordResponse build() {
            final var _resultValue = new RecommendedActionImpactRecordResponse();
            _resultValue.absoluteValue = absoluteValue;
            _resultValue.changeValueAbsolute = changeValueAbsolute;
            _resultValue.changeValueRelative = changeValueRelative;
            _resultValue.dimensionName = dimensionName;
            _resultValue.unit = unit;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy