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

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

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


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

    public static final GetPolicyDefinitionVersionAtManagementGroupPlainArgs Empty = new GetPolicyDefinitionVersionAtManagementGroupPlainArgs();

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

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

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

    /**
     * @return The name of the policy definition.
     * 
     */
    public String policyDefinitionName() {
        return this.policyDefinitionName;
    }

    /**
     * The policy 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 String policyDefinitionVersion;

    /**
     * @return The policy 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 String policyDefinitionVersion() {
        return this.policyDefinitionVersion;
    }

    private GetPolicyDefinitionVersionAtManagementGroupPlainArgs() {}

    private GetPolicyDefinitionVersionAtManagementGroupPlainArgs(GetPolicyDefinitionVersionAtManagementGroupPlainArgs $) {
        this.managementGroupName = $.managementGroupName;
        this.policyDefinitionName = $.policyDefinitionName;
        this.policyDefinitionVersion = $.policyDefinitionVersion;
    }

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

    public static final class Builder {
        private GetPolicyDefinitionVersionAtManagementGroupPlainArgs $;

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

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

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

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

        /**
         * @param policyDefinitionVersion The policy 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) {
            $.policyDefinitionVersion = policyDefinitionVersion;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy