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

com.pulumi.googlenative.integrations.v1alpha.outputs.EnterpriseCrmEventbusStatsResponse Maven / Gradle / Ivy

// *** 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.googlenative.integrations.v1alpha.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.integrations.v1alpha.outputs.EnterpriseCrmEventbusStatsDimensionsResponse;
import java.lang.Double;
import java.util.Objects;

@CustomType
public final class EnterpriseCrmEventbusStatsResponse {
    /**
     * @return Dimensions that these stats have been aggregated on.
     * 
     */
    private EnterpriseCrmEventbusStatsDimensionsResponse dimensions;
    /**
     * @return Average duration in seconds.
     * 
     */
    private Double durationInSeconds;
    /**
     * @return Average error rate.
     * 
     */
    private Double errorRate;
    /**
     * @return Queries per second.
     * 
     */
    private Double qps;
    /**
     * @return Average warning rate.
     * 
     */
    private Double warningRate;

    private EnterpriseCrmEventbusStatsResponse() {}
    /**
     * @return Dimensions that these stats have been aggregated on.
     * 
     */
    public EnterpriseCrmEventbusStatsDimensionsResponse dimensions() {
        return this.dimensions;
    }
    /**
     * @return Average duration in seconds.
     * 
     */
    public Double durationInSeconds() {
        return this.durationInSeconds;
    }
    /**
     * @return Average error rate.
     * 
     */
    public Double errorRate() {
        return this.errorRate;
    }
    /**
     * @return Queries per second.
     * 
     */
    public Double qps() {
        return this.qps;
    }
    /**
     * @return Average warning rate.
     * 
     */
    public Double warningRate() {
        return this.warningRate;
    }

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

    public static Builder builder(EnterpriseCrmEventbusStatsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private EnterpriseCrmEventbusStatsDimensionsResponse dimensions;
        private Double durationInSeconds;
        private Double errorRate;
        private Double qps;
        private Double warningRate;
        public Builder() {}
        public Builder(EnterpriseCrmEventbusStatsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dimensions = defaults.dimensions;
    	      this.durationInSeconds = defaults.durationInSeconds;
    	      this.errorRate = defaults.errorRate;
    	      this.qps = defaults.qps;
    	      this.warningRate = defaults.warningRate;
        }

        @CustomType.Setter
        public Builder dimensions(EnterpriseCrmEventbusStatsDimensionsResponse dimensions) {
            this.dimensions = Objects.requireNonNull(dimensions);
            return this;
        }
        @CustomType.Setter
        public Builder durationInSeconds(Double durationInSeconds) {
            this.durationInSeconds = Objects.requireNonNull(durationInSeconds);
            return this;
        }
        @CustomType.Setter
        public Builder errorRate(Double errorRate) {
            this.errorRate = Objects.requireNonNull(errorRate);
            return this;
        }
        @CustomType.Setter
        public Builder qps(Double qps) {
            this.qps = Objects.requireNonNull(qps);
            return this;
        }
        @CustomType.Setter
        public Builder warningRate(Double warningRate) {
            this.warningRate = Objects.requireNonNull(warningRate);
            return this;
        }
        public EnterpriseCrmEventbusStatsResponse build() {
            final var o = new EnterpriseCrmEventbusStatsResponse();
            o.dimensions = dimensions;
            o.durationInSeconds = durationInSeconds;
            o.errorRate = errorRate;
            o.qps = qps;
            o.warningRate = warningRate;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy