All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.securityinsights.inputs.GetEntitiesGetTimelinePlainArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show 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.azurenative.securityinsights.inputs;

import com.pulumi.azurenative.securityinsights.enums.EntityTimelineKind;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetEntitiesGetTimelinePlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetEntitiesGetTimelinePlainArgs Empty = new GetEntitiesGetTimelinePlainArgs();

    /**
     * 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;
    }

    /**
     * Array of timeline Item kinds.
     * 
     */
    @Import(name="kinds")
    private @Nullable List> kinds;

    /**
     * @return Array of timeline Item kinds.
     * 
     */
    public Optional>> kinds() {
        return Optional.ofNullable(this.kinds);
    }

    /**
     * The number of bucket for timeline queries aggregation.
     * 
     */
    @Import(name="numberOfBucket")
    private @Nullable Integer numberOfBucket;

    /**
     * @return The number of bucket for timeline queries aggregation.
     * 
     */
    public Optional numberOfBucket() {
        return Optional.ofNullable(this.numberOfBucket);
    }

    /**
     * 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 GetEntitiesGetTimelinePlainArgs() {}

    private GetEntitiesGetTimelinePlainArgs(GetEntitiesGetTimelinePlainArgs $) {
        this.endTime = $.endTime;
        this.entityId = $.entityId;
        this.kinds = $.kinds;
        this.numberOfBucket = $.numberOfBucket;
        this.resourceGroupName = $.resourceGroupName;
        this.startTime = $.startTime;
        this.workspaceName = $.workspaceName;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(GetEntitiesGetTimelinePlainArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GetEntitiesGetTimelinePlainArgs $;

        public Builder() {
            $ = new GetEntitiesGetTimelinePlainArgs();
        }

        public Builder(GetEntitiesGetTimelinePlainArgs defaults) {
            $ = new GetEntitiesGetTimelinePlainArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @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 kinds Array of timeline Item kinds.
         * 
         * @return builder
         * 
         */
        public Builder kinds(@Nullable List> kinds) {
            $.kinds = kinds;
            return this;
        }

        /**
         * @param kinds Array of timeline Item kinds.
         * 
         * @return builder
         * 
         */
        public Builder kinds(Either... kinds) {
            return kinds(List.of(kinds));
        }

        /**
         * @param numberOfBucket The number of bucket for timeline queries aggregation.
         * 
         * @return builder
         * 
         */
        public Builder numberOfBucket(@Nullable Integer numberOfBucket) {
            $.numberOfBucket = numberOfBucket;
            return this;
        }

        /**
         * @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 GetEntitiesGetTimelinePlainArgs build() {
            if ($.endTime == null) {
                throw new MissingRequiredPropertyException("GetEntitiesGetTimelinePlainArgs", "endTime");
            }
            if ($.entityId == null) {
                throw new MissingRequiredPropertyException("GetEntitiesGetTimelinePlainArgs", "entityId");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetEntitiesGetTimelinePlainArgs", "resourceGroupName");
            }
            if ($.startTime == null) {
                throw new MissingRequiredPropertyException("GetEntitiesGetTimelinePlainArgs", "startTime");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("GetEntitiesGetTimelinePlainArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy