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

com.pulumi.azurenative.awsconnector.inputs.StatefulRuleGroupOverrideArgs Maven / Gradle / Ivy

// *** 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.awsconnector.inputs;

import com.pulumi.azurenative.awsconnector.enums.StatefulRuleGroupOverrideAction;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of StatefulRuleGroupOverride
 * 
 */
public final class StatefulRuleGroupOverrideArgs extends com.pulumi.resources.ResourceArgs {

    public static final StatefulRuleGroupOverrideArgs Empty = new StatefulRuleGroupOverrideArgs();

    /**
     * Property action
     * 
     */
    @Import(name="action")
    private @Nullable Output> action;

    /**
     * @return Property action
     * 
     */
    public Optional>> action() {
        return Optional.ofNullable(this.action);
    }

    private StatefulRuleGroupOverrideArgs() {}

    private StatefulRuleGroupOverrideArgs(StatefulRuleGroupOverrideArgs $) {
        this.action = $.action;
    }

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

    public static final class Builder {
        private StatefulRuleGroupOverrideArgs $;

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

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

        /**
         * @param action Property action
         * 
         * @return builder
         * 
         */
        public Builder action(@Nullable Output> action) {
            $.action = action;
            return this;
        }

        /**
         * @param action Property action
         * 
         * @return builder
         * 
         */
        public Builder action(Either action) {
            return action(Output.of(action));
        }

        /**
         * @param action Property action
         * 
         * @return builder
         * 
         */
        public Builder action(String action) {
            return action(Either.ofLeft(action));
        }

        /**
         * @param action Property action
         * 
         * @return builder
         * 
         */
        public Builder action(StatefulRuleGroupOverrideAction action) {
            return action(Either.ofRight(action));
        }

        public StatefulRuleGroupOverrideArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy