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

com.pulumi.azurenative.authorization.inputs.GetPolicySetDefinitionVersionPlainArgs Maven / Gradle / Ivy

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

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


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

    public static final GetPolicySetDefinitionVersionPlainArgs Empty = new GetPolicySetDefinitionVersionPlainArgs();

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

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

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

    private GetPolicySetDefinitionVersionPlainArgs() {}

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

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

    public static final class Builder {
        private GetPolicySetDefinitionVersionPlainArgs $;

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy