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

com.pulumi.azurenative.securityinsights.inputs.GetSourceControlPlainArgs Maven / Gradle / Ivy

// *** 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.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetSourceControlPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetSourceControlPlainArgs Empty = new GetSourceControlPlainArgs();

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Source control Id
     * 
     */
    @Import(name="sourceControlId", required=true)
    private String sourceControlId;

    /**
     * @return Source control Id
     * 
     */
    public String sourceControlId() {
        return this.sourceControlId;
    }

    /**
     * The name of the workspace.
     * 
     */
    @Import(name="workspaceName", required=true)
    private String workspaceName;

    /**
     * @return The name of the workspace.
     * 
     */
    public String workspaceName() {
        return this.workspaceName;
    }

    private GetSourceControlPlainArgs() {}

    private GetSourceControlPlainArgs(GetSourceControlPlainArgs $) {
        this.resourceGroupName = $.resourceGroupName;
        this.sourceControlId = $.sourceControlId;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private GetSourceControlPlainArgs $;

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

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

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param sourceControlId Source control Id
         * 
         * @return builder
         * 
         */
        public Builder sourceControlId(String sourceControlId) {
            $.sourceControlId = sourceControlId;
            return this;
        }

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

        public GetSourceControlPlainArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetSourceControlPlainArgs", "resourceGroupName");
            }
            if ($.sourceControlId == null) {
                throw new MissingRequiredPropertyException("GetSourceControlPlainArgs", "sourceControlId");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("GetSourceControlPlainArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy