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

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

There is a newer version: 2.82.0
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.Output;
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 GetEntitiesGetTimelineArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetEntitiesGetTimelineArgs Empty = new GetEntitiesGetTimelineArgs();

    /**
     * The end timeline date, so the results returned are before this date.
     * 
     */
    @Import(name="endTime", required=true)
    private Output endTime;

    /**
     * @return The end timeline date, so the results returned are before this date.
     * 
     */
    public Output endTime() {
        return this.endTime;
    }

    /**
     * entity ID
     * 
     */
    @Import(name="entityId", required=true)
    private Output entityId;

    /**
     * @return entity ID
     * 
     */
    public Output entityId() {
        return this.entityId;
    }

    /**
     * Array of timeline Item kinds.
     * 
     */
    @Import(name="kinds")
    private @Nullable Output>> 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 Output 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 Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The start timeline date, so the results returned are after this date.
     * 
     */
    @Import(name="startTime", required=true)
    private Output startTime;

    /**
     * @return The start timeline date, so the results returned are after this date.
     * 
     */
    public Output startTime() {
        return this.startTime;
    }

    /**
     * The name of the workspace.
     * 
     */
    @Import(name="workspaceName", required=true)
    private Output workspaceName;

    /**
     * @return The name of the workspace.
     * 
     */
    public Output workspaceName() {
        return this.workspaceName;
    }

    private GetEntitiesGetTimelineArgs() {}

    private GetEntitiesGetTimelineArgs(GetEntitiesGetTimelineArgs $) {
        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(GetEntitiesGetTimelineArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GetEntitiesGetTimelineArgs $;

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

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

        /**
         * @param endTime The end timeline date, so the results returned are before this date.
         * 
         * @return builder
         * 
         */
        public Builder endTime(Output endTime) {
            $.endTime = endTime;
            return this;
        }

        /**
         * @param endTime The end timeline date, so the results returned are before this date.
         * 
         * @return builder
         * 
         */
        public Builder endTime(String endTime) {
            return endTime(Output.of(endTime));
        }

        /**
         * @param entityId entity ID
         * 
         * @return builder
         * 
         */
        public Builder entityId(Output entityId) {
            $.entityId = entityId;
            return this;
        }

        /**
         * @param entityId entity ID
         * 
         * @return builder
         * 
         */
        public Builder entityId(String entityId) {
            return entityId(Output.of(entityId));
        }

        /**
         * @param kinds Array of timeline Item kinds.
         * 
         * @return builder
         * 
         */
        public Builder kinds(@Nullable Output>> kinds) {
            $.kinds = kinds;
            return this;
        }

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

        /**
         * @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 Output numberOfBucket) {
            $.numberOfBucket = numberOfBucket;
            return this;
        }

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

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param startTime The start timeline date, so the results returned are after this date.
         * 
         * @return builder
         * 
         */
        public Builder startTime(Output startTime) {
            $.startTime = startTime;
            return this;
        }

        /**
         * @param startTime The start timeline date, so the results returned are after this date.
         * 
         * @return builder
         * 
         */
        public Builder startTime(String startTime) {
            return startTime(Output.of(startTime));
        }

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(Output workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            return workspaceName(Output.of(workspaceName));
        }

        public GetEntitiesGetTimelineArgs build() {
            if ($.endTime == null) {
                throw new MissingRequiredPropertyException("GetEntitiesGetTimelineArgs", "endTime");
            }
            if ($.entityId == null) {
                throw new MissingRequiredPropertyException("GetEntitiesGetTimelineArgs", "entityId");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetEntitiesGetTimelineArgs", "resourceGroupName");
            }
            if ($.startTime == null) {
                throw new MissingRequiredPropertyException("GetEntitiesGetTimelineArgs", "startTime");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("GetEntitiesGetTimelineArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy