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

com.pulumi.azurenative.authorization.inputs.GetPolicySetDefinitionVersionAtManagementGroupArgs 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.authorization.inputs;

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


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

    public static final GetPolicySetDefinitionVersionAtManagementGroupArgs Empty = new GetPolicySetDefinitionVersionAtManagementGroupArgs();

    /**
     * The name of the management group. The name is case insensitive.
     * 
     */
    @Import(name="managementGroupName", required=true)
    private Output managementGroupName;

    /**
     * @return The name of the management group. The name is case insensitive.
     * 
     */
    public Output managementGroupName() {
        return this.managementGroupName;
    }

    /**
     * The policy set definition version.  The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number
     * 
     */
    @Import(name="policyDefinitionVersion", required=true)
    private Output policyDefinitionVersion;

    /**
     * @return The policy set definition version.  The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number
     * 
     */
    public Output policyDefinitionVersion() {
        return this.policyDefinitionVersion;
    }

    /**
     * The name of the policy set definition.
     * 
     */
    @Import(name="policySetDefinitionName", required=true)
    private Output policySetDefinitionName;

    /**
     * @return The name of the policy set definition.
     * 
     */
    public Output policySetDefinitionName() {
        return this.policySetDefinitionName;
    }

    private GetPolicySetDefinitionVersionAtManagementGroupArgs() {}

    private GetPolicySetDefinitionVersionAtManagementGroupArgs(GetPolicySetDefinitionVersionAtManagementGroupArgs $) {
        this.managementGroupName = $.managementGroupName;
        this.policyDefinitionVersion = $.policyDefinitionVersion;
        this.policySetDefinitionName = $.policySetDefinitionName;
    }

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

    public static final class Builder {
        private GetPolicySetDefinitionVersionAtManagementGroupArgs $;

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

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

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

        /**
         * @param managementGroupName The name of the management group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder managementGroupName(String managementGroupName) {
            return managementGroupName(Output.of(managementGroupName));
        }

        /**
         * @param policyDefinitionVersion The policy set definition version.  The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number
         * 
         * @return builder
         * 
         */
        public Builder policyDefinitionVersion(Output policyDefinitionVersion) {
            $.policyDefinitionVersion = policyDefinitionVersion;
            return this;
        }

        /**
         * @param policyDefinitionVersion The policy set definition version.  The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number
         * 
         * @return builder
         * 
         */
        public Builder policyDefinitionVersion(String policyDefinitionVersion) {
            return policyDefinitionVersion(Output.of(policyDefinitionVersion));
        }

        /**
         * @param policySetDefinitionName The name of the policy set definition.
         * 
         * @return builder
         * 
         */
        public Builder policySetDefinitionName(Output policySetDefinitionName) {
            $.policySetDefinitionName = policySetDefinitionName;
            return this;
        }

        /**
         * @param policySetDefinitionName The name of the policy set definition.
         * 
         * @return builder
         * 
         */
        public Builder policySetDefinitionName(String policySetDefinitionName) {
            return policySetDefinitionName(Output.of(policySetDefinitionName));
        }

        public GetPolicySetDefinitionVersionAtManagementGroupArgs build() {
            if ($.managementGroupName == null) {
                throw new MissingRequiredPropertyException("GetPolicySetDefinitionVersionAtManagementGroupArgs", "managementGroupName");
            }
            if ($.policyDefinitionVersion == null) {
                throw new MissingRequiredPropertyException("GetPolicySetDefinitionVersionAtManagementGroupArgs", "policyDefinitionVersion");
            }
            if ($.policySetDefinitionName == null) {
                throw new MissingRequiredPropertyException("GetPolicySetDefinitionVersionAtManagementGroupArgs", "policySetDefinitionName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy