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

com.pulumi.azurenative.security.inputs.GetSecurityStandardPlainArgs 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.security.inputs;

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


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

    public static final GetSecurityStandardPlainArgs Empty = new GetSecurityStandardPlainArgs();

    /**
     * The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
     * 
     */
    @Import(name="scope", required=true)
    private String scope;

    /**
     * @return The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
     * 
     */
    public String scope() {
        return this.scope;
    }

    /**
     * The Security Standard key - unique key for the standard type
     * 
     */
    @Import(name="standardId", required=true)
    private String standardId;

    /**
     * @return The Security Standard key - unique key for the standard type
     * 
     */
    public String standardId() {
        return this.standardId;
    }

    private GetSecurityStandardPlainArgs() {}

    private GetSecurityStandardPlainArgs(GetSecurityStandardPlainArgs $) {
        this.scope = $.scope;
        this.standardId = $.standardId;
    }

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

    public static final class Builder {
        private GetSecurityStandardPlainArgs $;

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

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

        /**
         * @param scope The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
         * 
         * @return builder
         * 
         */
        public Builder scope(String scope) {
            $.scope = scope;
            return this;
        }

        /**
         * @param standardId The Security Standard key - unique key for the standard type
         * 
         * @return builder
         * 
         */
        public Builder standardId(String standardId) {
            $.standardId = standardId;
            return this;
        }

        public GetSecurityStandardPlainArgs build() {
            if ($.scope == null) {
                throw new MissingRequiredPropertyException("GetSecurityStandardPlainArgs", "scope");
            }
            if ($.standardId == null) {
                throw new MissingRequiredPropertyException("GetSecurityStandardPlainArgs", "standardId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy