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

com.pulumi.azurenative.alertsmanagement.inputs.RemoveAllActionGroupsArgs 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.alertsmanagement.inputs;

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


/**
 * Indicates if all action groups should be removed.
 * 
 */
public final class RemoveAllActionGroupsArgs extends com.pulumi.resources.ResourceArgs {

    public static final RemoveAllActionGroupsArgs Empty = new RemoveAllActionGroupsArgs();

    /**
     * Action that should be applied.
     * Expected value is 'RemoveAllActionGroups'.
     * 
     */
    @Import(name="actionType", required=true)
    private Output actionType;

    /**
     * @return Action that should be applied.
     * Expected value is 'RemoveAllActionGroups'.
     * 
     */
    public Output actionType() {
        return this.actionType;
    }

    private RemoveAllActionGroupsArgs() {}

    private RemoveAllActionGroupsArgs(RemoveAllActionGroupsArgs $) {
        this.actionType = $.actionType;
    }

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

    public static final class Builder {
        private RemoveAllActionGroupsArgs $;

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

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

        /**
         * @param actionType Action that should be applied.
         * Expected value is 'RemoveAllActionGroups'.
         * 
         * @return builder
         * 
         */
        public Builder actionType(Output actionType) {
            $.actionType = actionType;
            return this;
        }

        /**
         * @param actionType Action that should be applied.
         * Expected value is 'RemoveAllActionGroups'.
         * 
         * @return builder
         * 
         */
        public Builder actionType(String actionType) {
            return actionType(Output.of(actionType));
        }

        public RemoveAllActionGroupsArgs build() {
            $.actionType = Codegen.stringProp("actionType").output().arg($.actionType).require();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy