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

com.pulumi.azurenative.operationalinsights.outputs.ResultStatisticsResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.Integer;
import java.util.Objects;

@CustomType
public final class ResultStatisticsResponse {
    /**
     * @return The number of rows that were returned by the search job.
     * 
     */
    private Integer ingestedRecords;
    /**
     * @return Search job completion percentage.
     * 
     */
    private Double progress;
    /**
     * @return Search job: Amount of scanned data.
     * 
     */
    private Double scannedGb;

    private ResultStatisticsResponse() {}
    /**
     * @return The number of rows that were returned by the search job.
     * 
     */
    public Integer ingestedRecords() {
        return this.ingestedRecords;
    }
    /**
     * @return Search job completion percentage.
     * 
     */
    public Double progress() {
        return this.progress;
    }
    /**
     * @return Search job: Amount of scanned data.
     * 
     */
    public Double scannedGb() {
        return this.scannedGb;
    }

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

    public static Builder builder(ResultStatisticsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer ingestedRecords;
        private Double progress;
        private Double scannedGb;
        public Builder() {}
        public Builder(ResultStatisticsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.ingestedRecords = defaults.ingestedRecords;
    	      this.progress = defaults.progress;
    	      this.scannedGb = defaults.scannedGb;
        }

        @CustomType.Setter
        public Builder ingestedRecords(Integer ingestedRecords) {
            if (ingestedRecords == null) {
              throw new MissingRequiredPropertyException("ResultStatisticsResponse", "ingestedRecords");
            }
            this.ingestedRecords = ingestedRecords;
            return this;
        }
        @CustomType.Setter
        public Builder progress(Double progress) {
            if (progress == null) {
              throw new MissingRequiredPropertyException("ResultStatisticsResponse", "progress");
            }
            this.progress = progress;
            return this;
        }
        @CustomType.Setter
        public Builder scannedGb(Double scannedGb) {
            if (scannedGb == null) {
              throw new MissingRequiredPropertyException("ResultStatisticsResponse", "scannedGb");
            }
            this.scannedGb = scannedGb;
            return this;
        }
        public ResultStatisticsResponse build() {
            final var _resultValue = new ResultStatisticsResponse();
            _resultValue.ingestedRecords = ingestedRecords;
            _resultValue.progress = progress;
            _resultValue.scannedGb = scannedGb;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy