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

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

There is a newer version: 2.82.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.awsconnector.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of RuleOption
 * 
 */
public final class RuleOptionArgs extends com.pulumi.resources.ResourceArgs {

    public static final RuleOptionArgs Empty = new RuleOptionArgs();

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

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

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

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

    private RuleOptionArgs() {}

    private RuleOptionArgs(RuleOptionArgs $) {
        this.keyword = $.keyword;
        this.settings = $.settings;
    }

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

    public static final class Builder {
        private RuleOptionArgs $;

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

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

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

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

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

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

        /**
         * @param settings Property settings
         * 
         * @return builder
         * 
         */
        public Builder settings(String... settings) {
            return settings(List.of(settings));
        }

        public RuleOptionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy