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

com.pulumi.azurenative.policyinsights.inputs.ListRemediationDeploymentsAtResourceGroupArgs 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.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ListRemediationDeploymentsAtResourceGroupArgs Empty = new ListRemediationDeploymentsAtResourceGroupArgs();

    /**
     * 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 group name.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Resource group name.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Maximum number of records to return.
     * 
     */
    @Import(name="top")
    private @Nullable Output top;

    /**
     * @return Maximum number of records to return.
     * 
     */
    public Optional> top() {
        return Optional.ofNullable(this.top);
    }

    private ListRemediationDeploymentsAtResourceGroupArgs() {}

    private ListRemediationDeploymentsAtResourceGroupArgs(ListRemediationDeploymentsAtResourceGroupArgs $) {
        this.remediationName = $.remediationName;
        this.resourceGroupName = $.resourceGroupName;
        this.top = $.top;
    }

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

    public static final class Builder {
        private ListRemediationDeploymentsAtResourceGroupArgs $;

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

        public Builder(ListRemediationDeploymentsAtResourceGroupArgs defaults) {
            $ = new ListRemediationDeploymentsAtResourceGroupArgs(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 resourceGroupName Resource group name.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Resource group name.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param top Maximum number of records to return.
         * 
         * @return builder
         * 
         */
        public Builder top(@Nullable Output top) {
            $.top = top;
            return this;
        }

        /**
         * @param top Maximum number of records to return.
         * 
         * @return builder
         * 
         */
        public Builder top(Integer top) {
            return top(Output.of(top));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy