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

com.pulumi.azurenative.policyinsights.inputs.GetRemediationAtResourceArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.policyinsights.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 GetRemediationAtResourceArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetRemediationAtResourceArgs Empty = new GetRemediationAtResourceArgs();

    /**
     * The name of the remediation.
     * 
     */
    @Import(name="remediationName", required=true)
    private Output remediationName;

    /**
     * @return The name of the remediation.
     * 
     */
    public Output remediationName() {
        return this.remediationName;
    }

    /**
     * Resource ID.
     * 
     */
    @Import(name="resourceId", required=true)
    private Output resourceId;

    /**
     * @return Resource ID.
     * 
     */
    public Output resourceId() {
        return this.resourceId;
    }

    private GetRemediationAtResourceArgs() {}

    private GetRemediationAtResourceArgs(GetRemediationAtResourceArgs $) {
        this.remediationName = $.remediationName;
        this.resourceId = $.resourceId;
    }

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

    public static final class Builder {
        private GetRemediationAtResourceArgs $;

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

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

        /**
         * @param remediationName The name of the remediation.
         * 
         * @return builder
         * 
         */
        public Builder remediationName(Output remediationName) {
            $.remediationName = remediationName;
            return this;
        }

        /**
         * @param remediationName The name of the remediation.
         * 
         * @return builder
         * 
         */
        public Builder remediationName(String remediationName) {
            return remediationName(Output.of(remediationName));
        }

        /**
         * @param resourceId Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(Output resourceId) {
            $.resourceId = resourceId;
            return this;
        }

        /**
         * @param resourceId Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            return resourceId(Output.of(resourceId));
        }

        public GetRemediationAtResourceArgs build() {
            if ($.remediationName == null) {
                throw new MissingRequiredPropertyException("GetRemediationAtResourceArgs", "remediationName");
            }
            if ($.resourceId == null) {
                throw new MissingRequiredPropertyException("GetRemediationAtResourceArgs", "resourceId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy