
com.pulumi.azurenative.securityinsights.outputs.EntityInsightItemResponse 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.outputs;
import com.pulumi.azurenative.securityinsights.outputs.EntityInsightItemResponseQueryTimeInterval;
import com.pulumi.azurenative.securityinsights.outputs.InsightsTableResultResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EntityInsightItemResponse {
/**
* @return Query results for table insights query.
*
*/
private @Nullable List chartQueryResults;
/**
* @return The query id of the insight
*
*/
private @Nullable String queryId;
/**
* @return The Time interval that the query actually executed on.
*
*/
private @Nullable EntityInsightItemResponseQueryTimeInterval queryTimeInterval;
/**
* @return Query results for table insights query.
*
*/
private @Nullable InsightsTableResultResponse tableQueryResults;
private EntityInsightItemResponse() {}
/**
* @return Query results for table insights query.
*
*/
public List chartQueryResults() {
return this.chartQueryResults == null ? List.of() : this.chartQueryResults;
}
/**
* @return The query id of the insight
*
*/
public Optional queryId() {
return Optional.ofNullable(this.queryId);
}
/**
* @return The Time interval that the query actually executed on.
*
*/
public Optional queryTimeInterval() {
return Optional.ofNullable(this.queryTimeInterval);
}
/**
* @return Query results for table insights query.
*
*/
public Optional tableQueryResults() {
return Optional.ofNullable(this.tableQueryResults);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EntityInsightItemResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List chartQueryResults;
private @Nullable String queryId;
private @Nullable EntityInsightItemResponseQueryTimeInterval queryTimeInterval;
private @Nullable InsightsTableResultResponse tableQueryResults;
public Builder() {}
public Builder(EntityInsightItemResponse defaults) {
Objects.requireNonNull(defaults);
this.chartQueryResults = defaults.chartQueryResults;
this.queryId = defaults.queryId;
this.queryTimeInterval = defaults.queryTimeInterval;
this.tableQueryResults = defaults.tableQueryResults;
}
@CustomType.Setter
public Builder chartQueryResults(@Nullable List chartQueryResults) {
this.chartQueryResults = chartQueryResults;
return this;
}
public Builder chartQueryResults(InsightsTableResultResponse... chartQueryResults) {
return chartQueryResults(List.of(chartQueryResults));
}
@CustomType.Setter
public Builder queryId(@Nullable String queryId) {
this.queryId = queryId;
return this;
}
@CustomType.Setter
public Builder queryTimeInterval(@Nullable EntityInsightItemResponseQueryTimeInterval queryTimeInterval) {
this.queryTimeInterval = queryTimeInterval;
return this;
}
@CustomType.Setter
public Builder tableQueryResults(@Nullable InsightsTableResultResponse tableQueryResults) {
this.tableQueryResults = tableQueryResults;
return this;
}
public EntityInsightItemResponse build() {
final var _resultValue = new EntityInsightItemResponse();
_resultValue.chartQueryResults = chartQueryResults;
_resultValue.queryId = queryId;
_resultValue.queryTimeInterval = queryTimeInterval;
_resultValue.tableQueryResults = tableQueryResults;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy