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

com.pulumi.sumologic.inputs.MonitorFolderState Maven / Gradle / Ivy

The 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.sumologic.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.sumologic.inputs.MonitorFolderObjPermissionArgs;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class MonitorFolderState extends com.pulumi.resources.ResourceArgs {

    public static final MonitorFolderState Empty = new MonitorFolderState();

    @Import(name="contentType")
    private @Nullable Output contentType;

    public Optional> contentType() {
        return Optional.ofNullable(this.contentType);
    }

    @Import(name="createdAt")
    private @Nullable Output createdAt;

    public Optional> createdAt() {
        return Optional.ofNullable(this.createdAt);
    }

    @Import(name="createdBy")
    private @Nullable Output createdBy;

    public Optional> createdBy() {
        return Optional.ofNullable(this.createdBy);
    }

    /**
     * The description of the monitor folder.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description of the monitor folder.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    @Import(name="isLocked")
    private @Nullable Output isLocked;

    public Optional> isLocked() {
        return Optional.ofNullable(this.isLocked);
    }

    @Import(name="isMutable")
    private @Nullable Output isMutable;

    public Optional> isMutable() {
        return Optional.ofNullable(this.isMutable);
    }

    @Import(name="isSystem")
    private @Nullable Output isSystem;

    public Optional> isSystem() {
        return Optional.ofNullable(this.isSystem);
    }

    @Import(name="modifiedAt")
    private @Nullable Output modifiedAt;

    public Optional> modifiedAt() {
        return Optional.ofNullable(this.modifiedAt);
    }

    @Import(name="modifiedBy")
    private @Nullable Output modifiedBy;

    public Optional> modifiedBy() {
        return Optional.ofNullable(this.modifiedBy);
    }

    /**
     * The name of the monitor folder. The name must be alphanumeric.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the monitor folder. The name must be alphanumeric.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * `obj_permission` construct represents a Permission Statement associated with this Folder. A set of `obj_permission` constructs can be specified under a single Folder. An `obj_permission` construct can be used to control permissions Explicitly associated with a Folder. But, it cannot be used to control permissions Inherited from a Parent / Ancestor Folder.  Default FGP would be still set to the Folder upon creation (e.g. the creating user would have full permission), even if no `obj_permission` construct is specified at a Folder and the FGP feature is enabled at the account.
     * 
     */
    @Import(name="objPermissions")
    private @Nullable Output> objPermissions;

    /**
     * @return `obj_permission` construct represents a Permission Statement associated with this Folder. A set of `obj_permission` constructs can be specified under a single Folder. An `obj_permission` construct can be used to control permissions Explicitly associated with a Folder. But, it cannot be used to control permissions Inherited from a Parent / Ancestor Folder.  Default FGP would be still set to the Folder upon creation (e.g. the creating user would have full permission), even if no `obj_permission` construct is specified at a Folder and the FGP feature is enabled at the account.
     * 
     */
    public Optional>> objPermissions() {
        return Optional.ofNullable(this.objPermissions);
    }

    /**
     * The identifier of the Monitor Folder that contains this Monitor Folder. Defaults to the root folder.
     * 
     */
    @Import(name="parentId")
    private @Nullable Output parentId;

    /**
     * @return The identifier of the Monitor Folder that contains this Monitor Folder. Defaults to the root folder.
     * 
     */
    public Optional> parentId() {
        return Optional.ofNullable(this.parentId);
    }

    @Import(name="postRequestMap")
    private @Nullable Output> postRequestMap;

    public Optional>> postRequestMap() {
        return Optional.ofNullable(this.postRequestMap);
    }

    /**
     * The type of object model. Valid value:
     * - `MonitorsLibraryFolder`
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return The type of object model. Valid value:
     * - `MonitorsLibraryFolder`
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    @Import(name="version")
    private @Nullable Output version;

    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private MonitorFolderState() {}

    private MonitorFolderState(MonitorFolderState $) {
        this.contentType = $.contentType;
        this.createdAt = $.createdAt;
        this.createdBy = $.createdBy;
        this.description = $.description;
        this.isLocked = $.isLocked;
        this.isMutable = $.isMutable;
        this.isSystem = $.isSystem;
        this.modifiedAt = $.modifiedAt;
        this.modifiedBy = $.modifiedBy;
        this.name = $.name;
        this.objPermissions = $.objPermissions;
        this.parentId = $.parentId;
        this.postRequestMap = $.postRequestMap;
        this.type = $.type;
        this.version = $.version;
    }

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

    public static final class Builder {
        private MonitorFolderState $;

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

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

        public Builder contentType(@Nullable Output contentType) {
            $.contentType = contentType;
            return this;
        }

        public Builder contentType(String contentType) {
            return contentType(Output.of(contentType));
        }

        public Builder createdAt(@Nullable Output createdAt) {
            $.createdAt = createdAt;
            return this;
        }

        public Builder createdAt(String createdAt) {
            return createdAt(Output.of(createdAt));
        }

        public Builder createdBy(@Nullable Output createdBy) {
            $.createdBy = createdBy;
            return this;
        }

        public Builder createdBy(String createdBy) {
            return createdBy(Output.of(createdBy));
        }

        /**
         * @param description The description of the monitor folder.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description of the monitor folder.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        public Builder isLocked(@Nullable Output isLocked) {
            $.isLocked = isLocked;
            return this;
        }

        public Builder isLocked(Boolean isLocked) {
            return isLocked(Output.of(isLocked));
        }

        public Builder isMutable(@Nullable Output isMutable) {
            $.isMutable = isMutable;
            return this;
        }

        public Builder isMutable(Boolean isMutable) {
            return isMutable(Output.of(isMutable));
        }

        public Builder isSystem(@Nullable Output isSystem) {
            $.isSystem = isSystem;
            return this;
        }

        public Builder isSystem(Boolean isSystem) {
            return isSystem(Output.of(isSystem));
        }

        public Builder modifiedAt(@Nullable Output modifiedAt) {
            $.modifiedAt = modifiedAt;
            return this;
        }

        public Builder modifiedAt(String modifiedAt) {
            return modifiedAt(Output.of(modifiedAt));
        }

        public Builder modifiedBy(@Nullable Output modifiedBy) {
            $.modifiedBy = modifiedBy;
            return this;
        }

        public Builder modifiedBy(String modifiedBy) {
            return modifiedBy(Output.of(modifiedBy));
        }

        /**
         * @param name The name of the monitor folder. The name must be alphanumeric.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the monitor folder. The name must be alphanumeric.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param objPermissions `obj_permission` construct represents a Permission Statement associated with this Folder. A set of `obj_permission` constructs can be specified under a single Folder. An `obj_permission` construct can be used to control permissions Explicitly associated with a Folder. But, it cannot be used to control permissions Inherited from a Parent / Ancestor Folder.  Default FGP would be still set to the Folder upon creation (e.g. the creating user would have full permission), even if no `obj_permission` construct is specified at a Folder and the FGP feature is enabled at the account.
         * 
         * @return builder
         * 
         */
        public Builder objPermissions(@Nullable Output> objPermissions) {
            $.objPermissions = objPermissions;
            return this;
        }

        /**
         * @param objPermissions `obj_permission` construct represents a Permission Statement associated with this Folder. A set of `obj_permission` constructs can be specified under a single Folder. An `obj_permission` construct can be used to control permissions Explicitly associated with a Folder. But, it cannot be used to control permissions Inherited from a Parent / Ancestor Folder.  Default FGP would be still set to the Folder upon creation (e.g. the creating user would have full permission), even if no `obj_permission` construct is specified at a Folder and the FGP feature is enabled at the account.
         * 
         * @return builder
         * 
         */
        public Builder objPermissions(List objPermissions) {
            return objPermissions(Output.of(objPermissions));
        }

        /**
         * @param objPermissions `obj_permission` construct represents a Permission Statement associated with this Folder. A set of `obj_permission` constructs can be specified under a single Folder. An `obj_permission` construct can be used to control permissions Explicitly associated with a Folder. But, it cannot be used to control permissions Inherited from a Parent / Ancestor Folder.  Default FGP would be still set to the Folder upon creation (e.g. the creating user would have full permission), even if no `obj_permission` construct is specified at a Folder and the FGP feature is enabled at the account.
         * 
         * @return builder
         * 
         */
        public Builder objPermissions(MonitorFolderObjPermissionArgs... objPermissions) {
            return objPermissions(List.of(objPermissions));
        }

        /**
         * @param parentId The identifier of the Monitor Folder that contains this Monitor Folder. Defaults to the root folder.
         * 
         * @return builder
         * 
         */
        public Builder parentId(@Nullable Output parentId) {
            $.parentId = parentId;
            return this;
        }

        /**
         * @param parentId The identifier of the Monitor Folder that contains this Monitor Folder. Defaults to the root folder.
         * 
         * @return builder
         * 
         */
        public Builder parentId(String parentId) {
            return parentId(Output.of(parentId));
        }

        public Builder postRequestMap(@Nullable Output> postRequestMap) {
            $.postRequestMap = postRequestMap;
            return this;
        }

        public Builder postRequestMap(Map postRequestMap) {
            return postRequestMap(Output.of(postRequestMap));
        }

        /**
         * @param type The type of object model. Valid value:
         * - `MonitorsLibraryFolder`
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The type of object model. Valid value:
         * - `MonitorsLibraryFolder`
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        public Builder version(Integer version) {
            return version(Output.of(version));
        }

        public MonitorFolderState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy