com.pulumi.azurenative.securityinsights.inputs.GetEntityInsightsPlainArgs 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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetEntityInsightsPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetEntityInsightsPlainArgs Empty = new GetEntityInsightsPlainArgs();
/**
* Indicates if query time range should be extended with default time range of the query. Default value is false
*
*/
@Import(name="addDefaultExtendedTimeRange")
private @Nullable Boolean addDefaultExtendedTimeRange;
/**
* @return Indicates if query time range should be extended with default time range of the query. Default value is false
*
*/
public Optional addDefaultExtendedTimeRange() {
return Optional.ofNullable(this.addDefaultExtendedTimeRange);
}
/**
* The end timeline date, so the results returned are before this date.
*
*/
@Import(name="endTime", required=true)
private String endTime;
/**
* @return The end timeline date, so the results returned are before this date.
*
*/
public String endTime() {
return this.endTime;
}
/**
* entity ID
*
*/
@Import(name="entityId", required=true)
private String entityId;
/**
* @return entity ID
*
*/
public String entityId() {
return this.entityId;
}
/**
* List of Insights Query Id. If empty, default value is all insights of this entity
*
*/
@Import(name="insightQueryIds")
private @Nullable List insightQueryIds;
/**
* @return List of Insights Query Id. If empty, default value is all insights of this entity
*
*/
public Optional> insightQueryIds() {
return Optional.ofNullable(this.insightQueryIds);
}
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* The start timeline date, so the results returned are after this date.
*
*/
@Import(name="startTime", required=true)
private String startTime;
/**
* @return The start timeline date, so the results returned are after this date.
*
*/
public String startTime() {
return this.startTime;
}
/**
* The name of the workspace.
*
*/
@Import(name="workspaceName", required=true)
private String workspaceName;
/**
* @return The name of the workspace.
*
*/
public String workspaceName() {
return this.workspaceName;
}
private GetEntityInsightsPlainArgs() {}
private GetEntityInsightsPlainArgs(GetEntityInsightsPlainArgs $) {
this.addDefaultExtendedTimeRange = $.addDefaultExtendedTimeRange;
this.endTime = $.endTime;
this.entityId = $.entityId;
this.insightQueryIds = $.insightQueryIds;
this.resourceGroupName = $.resourceGroupName;
this.startTime = $.startTime;
this.workspaceName = $.workspaceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetEntityInsightsPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetEntityInsightsPlainArgs $;
public Builder() {
$ = new GetEntityInsightsPlainArgs();
}
public Builder(GetEntityInsightsPlainArgs defaults) {
$ = new GetEntityInsightsPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param addDefaultExtendedTimeRange Indicates if query time range should be extended with default time range of the query. Default value is false
*
* @return builder
*
*/
public Builder addDefaultExtendedTimeRange(@Nullable Boolean addDefaultExtendedTimeRange) {
$.addDefaultExtendedTimeRange = addDefaultExtendedTimeRange;
return this;
}
/**
* @param endTime The end timeline date, so the results returned are before this date.
*
* @return builder
*
*/
public Builder endTime(String endTime) {
$.endTime = endTime;
return this;
}
/**
* @param entityId entity ID
*
* @return builder
*
*/
public Builder entityId(String entityId) {
$.entityId = entityId;
return this;
}
/**
* @param insightQueryIds List of Insights Query Id. If empty, default value is all insights of this entity
*
* @return builder
*
*/
public Builder insightQueryIds(@Nullable List insightQueryIds) {
$.insightQueryIds = insightQueryIds;
return this;
}
/**
* @param insightQueryIds List of Insights Query Id. If empty, default value is all insights of this entity
*
* @return builder
*
*/
public Builder insightQueryIds(String... insightQueryIds) {
return insightQueryIds(List.of(insightQueryIds));
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param startTime The start timeline date, so the results returned are after this date.
*
* @return builder
*
*/
public Builder startTime(String startTime) {
$.startTime = startTime;
return this;
}
/**
* @param workspaceName The name of the workspace.
*
* @return builder
*
*/
public Builder workspaceName(String workspaceName) {
$.workspaceName = workspaceName;
return this;
}
public GetEntityInsightsPlainArgs build() {
if ($.endTime == null) {
throw new MissingRequiredPropertyException("GetEntityInsightsPlainArgs", "endTime");
}
if ($.entityId == null) {
throw new MissingRequiredPropertyException("GetEntityInsightsPlainArgs", "entityId");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetEntityInsightsPlainArgs", "resourceGroupName");
}
if ($.startTime == null) {
throw new MissingRequiredPropertyException("GetEntityInsightsPlainArgs", "startTime");
}
if ($.workspaceName == null) {
throw new MissingRequiredPropertyException("GetEntityInsightsPlainArgs", "workspaceName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy