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

com.pulumi.signalfx.inputs.DashboardGroupState Maven / Gradle / Ivy

There is a newer version: 7.8.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.signalfx.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.signalfx.inputs.DashboardGroupDashboardArgs;
import com.pulumi.signalfx.inputs.DashboardGroupImportQualifierArgs;
import com.pulumi.signalfx.inputs.DashboardGroupPermissionArgs;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DashboardGroupState Empty = new DashboardGroupState();

    /**
     * Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
     * 
     * @deprecated
     * Please use permissions field now
     * 
     */
    @Deprecated /* Please use permissions field now */
    @Import(name="authorizedWriterTeams")
    private @Nullable Output> authorizedWriterTeams;

    /**
     * @return Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
     * 
     * @deprecated
     * Please use permissions field now
     * 
     */
    @Deprecated /* Please use permissions field now */
    public Optional>> authorizedWriterTeams() {
        return Optional.ofNullable(this.authorizedWriterTeams);
    }

    /**
     * User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
     * 
     * @deprecated
     * Please use permissions field now
     * 
     */
    @Deprecated /* Please use permissions field now */
    @Import(name="authorizedWriterUsers")
    private @Nullable Output> authorizedWriterUsers;

    /**
     * @return User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
     * 
     * @deprecated
     * Please use permissions field now
     * 
     */
    @Deprecated /* Please use permissions field now */
    public Optional>> authorizedWriterUsers() {
        return Optional.ofNullable(this.authorizedWriterUsers);
    }

    /**
     * [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
     * 
     */
    @Import(name="dashboards")
    private @Nullable Output> dashboards;

    /**
     * @return [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
     * 
     */
    public Optional>> dashboards() {
        return Optional.ofNullable(this.dashboards);
    }

    /**
     * Description of the dashboard group.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Description of the dashboard group.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

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

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

    /**
     * Name of the dashboard group.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the dashboard group.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
     * 
     */
    @Import(name="permissions")
    private @Nullable Output> permissions;

    /**
     * @return [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
     * 
     */
    public Optional>> permissions() {
        return Optional.ofNullable(this.permissions);
    }

    /**
     * Team IDs to associate the dashboard group to.
     * 
     */
    @Import(name="teams")
    private @Nullable Output> teams;

    /**
     * @return Team IDs to associate the dashboard group to.
     * 
     */
    public Optional>> teams() {
        return Optional.ofNullable(this.teams);
    }

    private DashboardGroupState() {}

    private DashboardGroupState(DashboardGroupState $) {
        this.authorizedWriterTeams = $.authorizedWriterTeams;
        this.authorizedWriterUsers = $.authorizedWriterUsers;
        this.dashboards = $.dashboards;
        this.description = $.description;
        this.importQualifiers = $.importQualifiers;
        this.name = $.name;
        this.permissions = $.permissions;
        this.teams = $.teams;
    }

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

    public static final class Builder {
        private DashboardGroupState $;

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

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

        /**
         * @param authorizedWriterTeams Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use permissions field now
         * 
         */
        @Deprecated /* Please use permissions field now */
        public Builder authorizedWriterTeams(@Nullable Output> authorizedWriterTeams) {
            $.authorizedWriterTeams = authorizedWriterTeams;
            return this;
        }

        /**
         * @param authorizedWriterTeams Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use permissions field now
         * 
         */
        @Deprecated /* Please use permissions field now */
        public Builder authorizedWriterTeams(List authorizedWriterTeams) {
            return authorizedWriterTeams(Output.of(authorizedWriterTeams));
        }

        /**
         * @param authorizedWriterTeams Team IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's team (or user id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use permissions field now
         * 
         */
        @Deprecated /* Please use permissions field now */
        public Builder authorizedWriterTeams(String... authorizedWriterTeams) {
            return authorizedWriterTeams(List.of(authorizedWriterTeams));
        }

        /**
         * @param authorizedWriterUsers User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use permissions field now
         * 
         */
        @Deprecated /* Please use permissions field now */
        public Builder authorizedWriterUsers(@Nullable Output> authorizedWriterUsers) {
            $.authorizedWriterUsers = authorizedWriterUsers;
            return this;
        }

        /**
         * @param authorizedWriterUsers User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use permissions field now
         * 
         */
        @Deprecated /* Please use permissions field now */
        public Builder authorizedWriterUsers(List authorizedWriterUsers) {
            return authorizedWriterUsers(Output.of(authorizedWriterUsers));
        }

        /**
         * @param authorizedWriterUsers User IDs that have write access to this dashboard group. Remember to use an admin's token if using this feature and to include that admin's user id (or team id in `authorized_writer_teams`). **Note:** Deprecated use `permissions` instead.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use permissions field now
         * 
         */
        @Deprecated /* Please use permissions field now */
        public Builder authorizedWriterUsers(String... authorizedWriterUsers) {
            return authorizedWriterUsers(List.of(authorizedWriterUsers));
        }

        /**
         * @param dashboards [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
         * 
         * @return builder
         * 
         */
        public Builder dashboards(@Nullable Output> dashboards) {
            $.dashboards = dashboards;
            return this;
        }

        /**
         * @param dashboards [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
         * 
         * @return builder
         * 
         */
        public Builder dashboards(List dashboards) {
            return dashboards(Output.of(dashboards));
        }

        /**
         * @param dashboards [Mirrored dashboards](https://docs.splunk.com/observability/en/data-visualization/dashboards/dashboard-share-clone-mirror.html#mirror-dashboard) in this dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
         * 
         * @return builder
         * 
         */
        public Builder dashboards(DashboardGroupDashboardArgs... dashboards) {
            return dashboards(List.of(dashboards));
        }

        /**
         * @param description Description of the dashboard group.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Description of the dashboard group.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

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

        public Builder importQualifiers(List importQualifiers) {
            return importQualifiers(Output.of(importQualifiers));
        }

        public Builder importQualifiers(DashboardGroupImportQualifierArgs... importQualifiers) {
            return importQualifiers(List.of(importQualifiers));
        }

        /**
         * @param name Name of the dashboard group.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the dashboard group.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param permissions [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
         * 
         * @return builder
         * 
         */
        public Builder permissions(@Nullable Output> permissions) {
            $.permissions = permissions;
            return this;
        }

        /**
         * @param permissions [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
         * 
         * @return builder
         * 
         */
        public Builder permissions(List permissions) {
            return permissions(Output.of(permissions));
        }

        /**
         * @param permissions [Permissions](https://docs.splunk.com/Observability/infrastructure/terms-concepts/permissions.html) List of read and write permission configuration to specify which user, team, and organization can view and/or edit your dashboard group. **Note:** This feature is not present in all accounts. Please contact support if you are unsure.
         * 
         * @return builder
         * 
         */
        public Builder permissions(DashboardGroupPermissionArgs... permissions) {
            return permissions(List.of(permissions));
        }

        /**
         * @param teams Team IDs to associate the dashboard group to.
         * 
         * @return builder
         * 
         */
        public Builder teams(@Nullable Output> teams) {
            $.teams = teams;
            return this;
        }

        /**
         * @param teams Team IDs to associate the dashboard group to.
         * 
         * @return builder
         * 
         */
        public Builder teams(List teams) {
            return teams(Output.of(teams));
        }

        /**
         * @param teams Team IDs to associate the dashboard group to.
         * 
         * @return builder
         * 
         */
        public Builder teams(String... teams) {
            return teams(List.of(teams));
        }

        public DashboardGroupState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy