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

com.pulumi.signalfx.inputs.TeamState 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 java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final TeamState Empty = new TeamState();

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

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

    /**
     * List of user IDs to include in the team.
     * 
     */
    @Import(name="members")
    private @Nullable Output> members;

    /**
     * @return List of user IDs to include in the team.
     * 
     */
    public Optional>> members() {
        return Optional.ofNullable(this.members);
    }

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

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

    /**
     * Where to send notifications for critical alerts
     * 
     */
    @Import(name="notificationsCriticals")
    private @Nullable Output> notificationsCriticals;

    /**
     * @return Where to send notifications for critical alerts
     * 
     */
    public Optional>> notificationsCriticals() {
        return Optional.ofNullable(this.notificationsCriticals);
    }

    /**
     * Where to send notifications for default alerts
     * 
     */
    @Import(name="notificationsDefaults")
    private @Nullable Output> notificationsDefaults;

    /**
     * @return Where to send notifications for default alerts
     * 
     */
    public Optional>> notificationsDefaults() {
        return Optional.ofNullable(this.notificationsDefaults);
    }

    /**
     * Where to send notifications for info alerts
     * 
     */
    @Import(name="notificationsInfos")
    private @Nullable Output> notificationsInfos;

    /**
     * @return Where to send notifications for info alerts
     * 
     */
    public Optional>> notificationsInfos() {
        return Optional.ofNullable(this.notificationsInfos);
    }

    /**
     * Where to send notifications for major alerts
     * 
     */
    @Import(name="notificationsMajors")
    private @Nullable Output> notificationsMajors;

    /**
     * @return Where to send notifications for major alerts
     * 
     */
    public Optional>> notificationsMajors() {
        return Optional.ofNullable(this.notificationsMajors);
    }

    /**
     * Where to send notifications for minor alerts
     * 
     */
    @Import(name="notificationsMinors")
    private @Nullable Output> notificationsMinors;

    /**
     * @return Where to send notifications for minor alerts
     * 
     */
    public Optional>> notificationsMinors() {
        return Optional.ofNullable(this.notificationsMinors);
    }

    /**
     * Where to send notifications for warning alerts
     * 
     */
    @Import(name="notificationsWarnings")
    private @Nullable Output> notificationsWarnings;

    /**
     * @return Where to send notifications for warning alerts
     * 
     */
    public Optional>> notificationsWarnings() {
        return Optional.ofNullable(this.notificationsWarnings);
    }

    /**
     * The URL of the team.
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return The URL of the team.
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    private TeamState() {}

    private TeamState(TeamState $) {
        this.description = $.description;
        this.members = $.members;
        this.name = $.name;
        this.notificationsCriticals = $.notificationsCriticals;
        this.notificationsDefaults = $.notificationsDefaults;
        this.notificationsInfos = $.notificationsInfos;
        this.notificationsMajors = $.notificationsMajors;
        this.notificationsMinors = $.notificationsMinors;
        this.notificationsWarnings = $.notificationsWarnings;
        this.url = $.url;
    }

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

    public static final class Builder {
        private TeamState $;

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

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

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

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

        /**
         * @param members List of user IDs to include in the team.
         * 
         * @return builder
         * 
         */
        public Builder members(@Nullable Output> members) {
            $.members = members;
            return this;
        }

        /**
         * @param members List of user IDs to include in the team.
         * 
         * @return builder
         * 
         */
        public Builder members(List members) {
            return members(Output.of(members));
        }

        /**
         * @param members List of user IDs to include in the team.
         * 
         * @return builder
         * 
         */
        public Builder members(String... members) {
            return members(List.of(members));
        }

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

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

        /**
         * @param notificationsCriticals Where to send notifications for critical alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsCriticals(@Nullable Output> notificationsCriticals) {
            $.notificationsCriticals = notificationsCriticals;
            return this;
        }

        /**
         * @param notificationsCriticals Where to send notifications for critical alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsCriticals(List notificationsCriticals) {
            return notificationsCriticals(Output.of(notificationsCriticals));
        }

        /**
         * @param notificationsCriticals Where to send notifications for critical alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsCriticals(String... notificationsCriticals) {
            return notificationsCriticals(List.of(notificationsCriticals));
        }

        /**
         * @param notificationsDefaults Where to send notifications for default alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsDefaults(@Nullable Output> notificationsDefaults) {
            $.notificationsDefaults = notificationsDefaults;
            return this;
        }

        /**
         * @param notificationsDefaults Where to send notifications for default alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsDefaults(List notificationsDefaults) {
            return notificationsDefaults(Output.of(notificationsDefaults));
        }

        /**
         * @param notificationsDefaults Where to send notifications for default alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsDefaults(String... notificationsDefaults) {
            return notificationsDefaults(List.of(notificationsDefaults));
        }

        /**
         * @param notificationsInfos Where to send notifications for info alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsInfos(@Nullable Output> notificationsInfos) {
            $.notificationsInfos = notificationsInfos;
            return this;
        }

        /**
         * @param notificationsInfos Where to send notifications for info alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsInfos(List notificationsInfos) {
            return notificationsInfos(Output.of(notificationsInfos));
        }

        /**
         * @param notificationsInfos Where to send notifications for info alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsInfos(String... notificationsInfos) {
            return notificationsInfos(List.of(notificationsInfos));
        }

        /**
         * @param notificationsMajors Where to send notifications for major alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsMajors(@Nullable Output> notificationsMajors) {
            $.notificationsMajors = notificationsMajors;
            return this;
        }

        /**
         * @param notificationsMajors Where to send notifications for major alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsMajors(List notificationsMajors) {
            return notificationsMajors(Output.of(notificationsMajors));
        }

        /**
         * @param notificationsMajors Where to send notifications for major alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsMajors(String... notificationsMajors) {
            return notificationsMajors(List.of(notificationsMajors));
        }

        /**
         * @param notificationsMinors Where to send notifications for minor alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsMinors(@Nullable Output> notificationsMinors) {
            $.notificationsMinors = notificationsMinors;
            return this;
        }

        /**
         * @param notificationsMinors Where to send notifications for minor alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsMinors(List notificationsMinors) {
            return notificationsMinors(Output.of(notificationsMinors));
        }

        /**
         * @param notificationsMinors Where to send notifications for minor alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsMinors(String... notificationsMinors) {
            return notificationsMinors(List.of(notificationsMinors));
        }

        /**
         * @param notificationsWarnings Where to send notifications for warning alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsWarnings(@Nullable Output> notificationsWarnings) {
            $.notificationsWarnings = notificationsWarnings;
            return this;
        }

        /**
         * @param notificationsWarnings Where to send notifications for warning alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsWarnings(List notificationsWarnings) {
            return notificationsWarnings(Output.of(notificationsWarnings));
        }

        /**
         * @param notificationsWarnings Where to send notifications for warning alerts
         * 
         * @return builder
         * 
         */
        public Builder notificationsWarnings(String... notificationsWarnings) {
            return notificationsWarnings(List.of(notificationsWarnings));
        }

        /**
         * @param url The URL of the team.
         * 
         * @return builder
         * 
         */
        public Builder url(@Nullable Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url The URL of the team.
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        public TeamState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy