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

com.pulumi.azurenative.databoxedge.outputs.MetricDimensionResponse 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.databoxedge.outputs;

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

@CustomType
public final class MetricDimensionResponse {
    /**
     * @return The dimension value.
     * 
     */
    private String sourceName;
    /**
     * @return The dimension type.
     * 
     */
    private String sourceType;

    private MetricDimensionResponse() {}
    /**
     * @return The dimension value.
     * 
     */
    public String sourceName() {
        return this.sourceName;
    }
    /**
     * @return The dimension type.
     * 
     */
    public String sourceType() {
        return this.sourceType;
    }

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

    public static Builder builder(MetricDimensionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String sourceName;
        private String sourceType;
        public Builder() {}
        public Builder(MetricDimensionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.sourceName = defaults.sourceName;
    	      this.sourceType = defaults.sourceType;
        }

        @CustomType.Setter
        public Builder sourceName(String sourceName) {
            if (sourceName == null) {
              throw new MissingRequiredPropertyException("MetricDimensionResponse", "sourceName");
            }
            this.sourceName = sourceName;
            return this;
        }
        @CustomType.Setter
        public Builder sourceType(String sourceType) {
            if (sourceType == null) {
              throw new MissingRequiredPropertyException("MetricDimensionResponse", "sourceType");
            }
            this.sourceType = sourceType;
            return this;
        }
        public MetricDimensionResponse build() {
            final var _resultValue = new MetricDimensionResponse();
            _resultValue.sourceName = sourceName;
            _resultValue.sourceType = sourceType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy