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

com.pulumi.azurenative.security.inputs.GetAssignmentPlainArgs Maven / Gradle / Ivy

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

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


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

    public static final GetAssignmentPlainArgs Empty = new GetAssignmentPlainArgs();

    /**
     * The security assignment key - unique key for the standard assignment
     * 
     */
    @Import(name="assignmentId", required=true)
    private String assignmentId;

    /**
     * @return The security assignment key - unique key for the standard assignment
     * 
     */
    public String assignmentId() {
        return this.assignmentId;
    }

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

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

    private GetAssignmentPlainArgs() {}

    private GetAssignmentPlainArgs(GetAssignmentPlainArgs $) {
        this.assignmentId = $.assignmentId;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetAssignmentPlainArgs $;

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

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

        /**
         * @param assignmentId The security assignment key - unique key for the standard assignment
         * 
         * @return builder
         * 
         */
        public Builder assignmentId(String assignmentId) {
            $.assignmentId = assignmentId;
            return this;
        }

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

        public GetAssignmentPlainArgs build() {
            if ($.assignmentId == null) {
                throw new MissingRequiredPropertyException("GetAssignmentPlainArgs", "assignmentId");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetAssignmentPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy