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

com.pulumi.meraki.networks.inputs.WirelessSsidsFirewallL3FirewallRulesRuleArgs Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.networks.inputs;

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;


public final class WirelessSsidsFirewallL3FirewallRulesRuleArgs extends com.pulumi.resources.ResourceArgs {

    public static final WirelessSsidsFirewallL3FirewallRulesRuleArgs Empty = new WirelessSsidsFirewallL3FirewallRulesRuleArgs();

    /**
     * Description of the rule (optional)
     * 
     */
    @Import(name="comment")
    private @Nullable Output comment;

    /**
     * @return Description of the rule (optional)
     * 
     */
    public Optional> comment() {
        return Optional.ofNullable(this.comment);
    }

    /**
     * Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
     * 
     */
    @Import(name="destCidr")
    private @Nullable Output destCidr;

    /**
     * @return Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
     * 
     */
    public Optional> destCidr() {
        return Optional.ofNullable(this.destCidr);
    }

    /**
     * Comma-separated list of destination port(s) (integer in the range 1-65535), or 'any'
     * 
     */
    @Import(name="destPort")
    private @Nullable Output destPort;

    /**
     * @return Comma-separated list of destination port(s) (integer in the range 1-65535), or 'any'
     * 
     */
    public Optional> destPort() {
        return Optional.ofNullable(this.destPort);
    }

    /**
     * Ip Ver
     * 
     */
    @Import(name="ipVer")
    private @Nullable Output ipVer;

    /**
     * @return Ip Ver
     * 
     */
    public Optional> ipVer() {
        return Optional.ofNullable(this.ipVer);
    }

    /**
     * 'allow' or 'deny' traffic specified by this rule
     * 
     */
    @Import(name="policy")
    private @Nullable Output policy;

    /**
     * @return 'allow' or 'deny' traffic specified by this rule
     * 
     */
    public Optional> policy() {
        return Optional.ofNullable(this.policy);
    }

    /**
     * The type of protocol (must be 'tcp', 'udp', 'icmp', 'icmp6' or 'any')
     * 
     */
    @Import(name="protocol")
    private @Nullable Output protocol;

    /**
     * @return The type of protocol (must be 'tcp', 'udp', 'icmp', 'icmp6' or 'any')
     * 
     */
    public Optional> protocol() {
        return Optional.ofNullable(this.protocol);
    }

    private WirelessSsidsFirewallL3FirewallRulesRuleArgs() {}

    private WirelessSsidsFirewallL3FirewallRulesRuleArgs(WirelessSsidsFirewallL3FirewallRulesRuleArgs $) {
        this.comment = $.comment;
        this.destCidr = $.destCidr;
        this.destPort = $.destPort;
        this.ipVer = $.ipVer;
        this.policy = $.policy;
        this.protocol = $.protocol;
    }

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

    public static final class Builder {
        private WirelessSsidsFirewallL3FirewallRulesRuleArgs $;

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

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

        /**
         * @param comment Description of the rule (optional)
         * 
         * @return builder
         * 
         */
        public Builder comment(@Nullable Output comment) {
            $.comment = comment;
            return this;
        }

        /**
         * @param comment Description of the rule (optional)
         * 
         * @return builder
         * 
         */
        public Builder comment(String comment) {
            return comment(Output.of(comment));
        }

        /**
         * @param destCidr Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
         * 
         * @return builder
         * 
         */
        public Builder destCidr(@Nullable Output destCidr) {
            $.destCidr = destCidr;
            return this;
        }

        /**
         * @param destCidr Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
         * 
         * @return builder
         * 
         */
        public Builder destCidr(String destCidr) {
            return destCidr(Output.of(destCidr));
        }

        /**
         * @param destPort Comma-separated list of destination port(s) (integer in the range 1-65535), or 'any'
         * 
         * @return builder
         * 
         */
        public Builder destPort(@Nullable Output destPort) {
            $.destPort = destPort;
            return this;
        }

        /**
         * @param destPort Comma-separated list of destination port(s) (integer in the range 1-65535), or 'any'
         * 
         * @return builder
         * 
         */
        public Builder destPort(String destPort) {
            return destPort(Output.of(destPort));
        }

        /**
         * @param ipVer Ip Ver
         * 
         * @return builder
         * 
         */
        public Builder ipVer(@Nullable Output ipVer) {
            $.ipVer = ipVer;
            return this;
        }

        /**
         * @param ipVer Ip Ver
         * 
         * @return builder
         * 
         */
        public Builder ipVer(String ipVer) {
            return ipVer(Output.of(ipVer));
        }

        /**
         * @param policy 'allow' or 'deny' traffic specified by this rule
         * 
         * @return builder
         * 
         */
        public Builder policy(@Nullable Output policy) {
            $.policy = policy;
            return this;
        }

        /**
         * @param policy 'allow' or 'deny' traffic specified by this rule
         * 
         * @return builder
         * 
         */
        public Builder policy(String policy) {
            return policy(Output.of(policy));
        }

        /**
         * @param protocol The type of protocol (must be 'tcp', 'udp', 'icmp', 'icmp6' or 'any')
         * 
         * @return builder
         * 
         */
        public Builder protocol(@Nullable Output protocol) {
            $.protocol = protocol;
            return this;
        }

        /**
         * @param protocol The type of protocol (must be 'tcp', 'udp', 'icmp', 'icmp6' or 'any')
         * 
         * @return builder
         * 
         */
        public Builder protocol(String protocol) {
            return protocol(Output.of(protocol));
        }

        public WirelessSsidsFirewallL3FirewallRulesRuleArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy