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

com.pulumi.azurenative.securityinsights.WorkspaceManagerGroupArgs 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.azurenative.securityinsights;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final WorkspaceManagerGroupArgs Empty = new WorkspaceManagerGroupArgs();

    /**
     * The description of the workspace manager group
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description of the workspace manager group
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The display name of the workspace manager group
     * 
     */
    @Import(name="displayName", required=true)
    private Output displayName;

    /**
     * @return The display name of the workspace manager group
     * 
     */
    public Output displayName() {
        return this.displayName;
    }

    /**
     * The names of the workspace manager members participating in this group.
     * 
     */
    @Import(name="memberResourceNames", required=true)
    private Output> memberResourceNames;

    /**
     * @return The names of the workspace manager members participating in this group.
     * 
     */
    public Output> memberResourceNames() {
        return this.memberResourceNames;
    }

    /**
     * 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 name of the workspace manager group
     * 
     */
    @Import(name="workspaceManagerGroupName")
    private @Nullable Output workspaceManagerGroupName;

    /**
     * @return The name of the workspace manager group
     * 
     */
    public Optional> workspaceManagerGroupName() {
        return Optional.ofNullable(this.workspaceManagerGroupName);
    }

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

    private WorkspaceManagerGroupArgs(WorkspaceManagerGroupArgs $) {
        this.description = $.description;
        this.displayName = $.displayName;
        this.memberResourceNames = $.memberResourceNames;
        this.resourceGroupName = $.resourceGroupName;
        this.workspaceManagerGroupName = $.workspaceManagerGroupName;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private WorkspaceManagerGroupArgs $;

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

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

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

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

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

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

        /**
         * @param memberResourceNames The names of the workspace manager members participating in this group.
         * 
         * @return builder
         * 
         */
        public Builder memberResourceNames(Output> memberResourceNames) {
            $.memberResourceNames = memberResourceNames;
            return this;
        }

        /**
         * @param memberResourceNames The names of the workspace manager members participating in this group.
         * 
         * @return builder
         * 
         */
        public Builder memberResourceNames(List memberResourceNames) {
            return memberResourceNames(Output.of(memberResourceNames));
        }

        /**
         * @param memberResourceNames The names of the workspace manager members participating in this group.
         * 
         * @return builder
         * 
         */
        public Builder memberResourceNames(String... memberResourceNames) {
            return memberResourceNames(List.of(memberResourceNames));
        }

        /**
         * @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 workspaceManagerGroupName The name of the workspace manager group
         * 
         * @return builder
         * 
         */
        public Builder workspaceManagerGroupName(@Nullable Output workspaceManagerGroupName) {
            $.workspaceManagerGroupName = workspaceManagerGroupName;
            return this;
        }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy