com.pulumi.mongodbatlas.outputs.GetDataLakePipelineRunsResultStat 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.mongodbatlas.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class GetDataLakePipelineRunsResultStat {
/**
* @return Total data size in bytes exported for this pipeline run.
*
*/
private Integer bytesExported;
/**
* @return Number of docs ingested for a this pipeline run.
*
*/
private Integer numDocs;
private GetDataLakePipelineRunsResultStat() {}
/**
* @return Total data size in bytes exported for this pipeline run.
*
*/
public Integer bytesExported() {
return this.bytesExported;
}
/**
* @return Number of docs ingested for a this pipeline run.
*
*/
public Integer numDocs() {
return this.numDocs;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDataLakePipelineRunsResultStat defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer bytesExported;
private Integer numDocs;
public Builder() {}
public Builder(GetDataLakePipelineRunsResultStat defaults) {
Objects.requireNonNull(defaults);
this.bytesExported = defaults.bytesExported;
this.numDocs = defaults.numDocs;
}
@CustomType.Setter
public Builder bytesExported(Integer bytesExported) {
if (bytesExported == null) {
throw new MissingRequiredPropertyException("GetDataLakePipelineRunsResultStat", "bytesExported");
}
this.bytesExported = bytesExported;
return this;
}
@CustomType.Setter
public Builder numDocs(Integer numDocs) {
if (numDocs == null) {
throw new MissingRequiredPropertyException("GetDataLakePipelineRunsResultStat", "numDocs");
}
this.numDocs = numDocs;
return this;
}
public GetDataLakePipelineRunsResultStat build() {
final var _resultValue = new GetDataLakePipelineRunsResultStat();
_resultValue.bytesExported = bytesExported;
_resultValue.numDocs = numDocs;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy