com.pulumi.azurenative.securityinsights.inputs.GraphQueryArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.securityinsights.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* The graph query to show the volume of data arriving into the workspace over time.
*
*/
public final class GraphQueryArgs extends com.pulumi.resources.ResourceArgs {
public static final GraphQueryArgs Empty = new GraphQueryArgs();
/**
* Gets or sets the base query for the graph.
* The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time.
*
*/
@Import(name="baseQuery", required=true)
private Output baseQuery;
/**
* @return Gets or sets the base query for the graph.
* The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time.
*
*/
public Output baseQuery() {
return this.baseQuery;
}
/**
* Gets or sets the legend for the graph.
*
*/
@Import(name="legend", required=true)
private Output legend;
/**
* @return Gets or sets the legend for the graph.
*
*/
public Output legend() {
return this.legend;
}
/**
* Gets or sets the metric name that the query is checking. For example: 'Total data receive'.
*
*/
@Import(name="metricName", required=true)
private Output metricName;
/**
* @return Gets or sets the metric name that the query is checking. For example: 'Total data receive'.
*
*/
public Output metricName() {
return this.metricName;
}
private GraphQueryArgs() {}
private GraphQueryArgs(GraphQueryArgs $) {
this.baseQuery = $.baseQuery;
this.legend = $.legend;
this.metricName = $.metricName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GraphQueryArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GraphQueryArgs $;
public Builder() {
$ = new GraphQueryArgs();
}
public Builder(GraphQueryArgs defaults) {
$ = new GraphQueryArgs(Objects.requireNonNull(defaults));
}
/**
* @param baseQuery Gets or sets the base query for the graph.
* The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time.
*
* @return builder
*
*/
public Builder baseQuery(Output baseQuery) {
$.baseQuery = baseQuery;
return this;
}
/**
* @param baseQuery Gets or sets the base query for the graph.
* The base query is wrapped by Sentinel UI infra with a KQL query, that measures the volume over time.
*
* @return builder
*
*/
public Builder baseQuery(String baseQuery) {
return baseQuery(Output.of(baseQuery));
}
/**
* @param legend Gets or sets the legend for the graph.
*
* @return builder
*
*/
public Builder legend(Output legend) {
$.legend = legend;
return this;
}
/**
* @param legend Gets or sets the legend for the graph.
*
* @return builder
*
*/
public Builder legend(String legend) {
return legend(Output.of(legend));
}
/**
* @param metricName Gets or sets the metric name that the query is checking. For example: 'Total data receive'.
*
* @return builder
*
*/
public Builder metricName(Output metricName) {
$.metricName = metricName;
return this;
}
/**
* @param metricName Gets or sets the metric name that the query is checking. For example: 'Total data receive'.
*
* @return builder
*
*/
public Builder metricName(String metricName) {
return metricName(Output.of(metricName));
}
public GraphQueryArgs build() {
if ($.baseQuery == null) {
throw new MissingRequiredPropertyException("GraphQueryArgs", "baseQuery");
}
if ($.legend == null) {
throw new MissingRequiredPropertyException("GraphQueryArgs", "legend");
}
if ($.metricName == null) {
throw new MissingRequiredPropertyException("GraphQueryArgs", "metricName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy