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

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

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


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

    public static final GetDefenderForStoragePlainArgs Empty = new GetDefenderForStoragePlainArgs();

    /**
     * The identifier of the resource.
     * 
     */
    @Import(name="resourceId", required=true)
    private String resourceId;

    /**
     * @return The identifier of the resource.
     * 
     */
    public String resourceId() {
        return this.resourceId;
    }

    /**
     * Defender for Storage setting name.
     * 
     */
    @Import(name="settingName", required=true)
    private String settingName;

    /**
     * @return Defender for Storage setting name.
     * 
     */
    public String settingName() {
        return this.settingName;
    }

    private GetDefenderForStoragePlainArgs() {}

    private GetDefenderForStoragePlainArgs(GetDefenderForStoragePlainArgs $) {
        this.resourceId = $.resourceId;
        this.settingName = $.settingName;
    }

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

    public static final class Builder {
        private GetDefenderForStoragePlainArgs $;

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

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

        /**
         * @param resourceId The identifier of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            $.resourceId = resourceId;
            return this;
        }

        /**
         * @param settingName Defender for Storage setting name.
         * 
         * @return builder
         * 
         */
        public Builder settingName(String settingName) {
            $.settingName = settingName;
            return this;
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy