com.pulumi.sumologic.outputs.MonitorQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sumologic Show documentation
Show all versions of sumologic Show documentation
A Pulumi package for creating and managing sumologic cloud resources.
The 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.sumologic.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class MonitorQuery {
private String query;
private String rowId;
private MonitorQuery() {}
public String query() {
return this.query;
}
public String rowId() {
return this.rowId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MonitorQuery defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String query;
private String rowId;
public Builder() {}
public Builder(MonitorQuery defaults) {
Objects.requireNonNull(defaults);
this.query = defaults.query;
this.rowId = defaults.rowId;
}
@CustomType.Setter
public Builder query(String query) {
if (query == null) {
throw new MissingRequiredPropertyException("MonitorQuery", "query");
}
this.query = query;
return this;
}
@CustomType.Setter
public Builder rowId(String rowId) {
if (rowId == null) {
throw new MissingRequiredPropertyException("MonitorQuery", "rowId");
}
this.rowId = rowId;
return this;
}
public MonitorQuery build() {
final var _resultValue = new MonitorQuery();
_resultValue.query = query;
_resultValue.rowId = rowId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy