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

com.pulumi.azurenative.securityinsights.WorkspaceManagerMemberArgs Maven / Gradle / Ivy

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

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


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

    public static final WorkspaceManagerMemberArgs Empty = new WorkspaceManagerMemberArgs();

    /**
     * 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;
    }

    /**
     * Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager
     * 
     */
    @Import(name="targetWorkspaceResourceId", required=true)
    private Output targetWorkspaceResourceId;

    /**
     * @return Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager
     * 
     */
    public Output targetWorkspaceResourceId() {
        return this.targetWorkspaceResourceId;
    }

    /**
     * Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager
     * 
     */
    @Import(name="targetWorkspaceTenantId", required=true)
    private Output targetWorkspaceTenantId;

    /**
     * @return Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager
     * 
     */
    public Output targetWorkspaceTenantId() {
        return this.targetWorkspaceTenantId;
    }

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

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

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

    private WorkspaceManagerMemberArgs(WorkspaceManagerMemberArgs $) {
        this.resourceGroupName = $.resourceGroupName;
        this.targetWorkspaceResourceId = $.targetWorkspaceResourceId;
        this.targetWorkspaceTenantId = $.targetWorkspaceTenantId;
        this.workspaceManagerMemberName = $.workspaceManagerMemberName;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private WorkspaceManagerMemberArgs $;

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

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

        /**
         * @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 targetWorkspaceResourceId Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager
         * 
         * @return builder
         * 
         */
        public Builder targetWorkspaceResourceId(Output targetWorkspaceResourceId) {
            $.targetWorkspaceResourceId = targetWorkspaceResourceId;
            return this;
        }

        /**
         * @param targetWorkspaceResourceId Fully qualified resource ID of the target Sentinel workspace joining the given Sentinel workspace manager
         * 
         * @return builder
         * 
         */
        public Builder targetWorkspaceResourceId(String targetWorkspaceResourceId) {
            return targetWorkspaceResourceId(Output.of(targetWorkspaceResourceId));
        }

        /**
         * @param targetWorkspaceTenantId Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager
         * 
         * @return builder
         * 
         */
        public Builder targetWorkspaceTenantId(Output targetWorkspaceTenantId) {
            $.targetWorkspaceTenantId = targetWorkspaceTenantId;
            return this;
        }

        /**
         * @param targetWorkspaceTenantId Tenant id of the target Sentinel workspace joining the given Sentinel workspace manager
         * 
         * @return builder
         * 
         */
        public Builder targetWorkspaceTenantId(String targetWorkspaceTenantId) {
            return targetWorkspaceTenantId(Output.of(targetWorkspaceTenantId));
        }

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy