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

com.pulumi.azurenative.analysisservices.inputs.IPv4FirewallRuleArgs 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.analysisservices.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;


/**
 * The detail of firewall rule.
 * 
 */
public final class IPv4FirewallRuleArgs extends com.pulumi.resources.ResourceArgs {

    public static final IPv4FirewallRuleArgs Empty = new IPv4FirewallRuleArgs();

    /**
     * The rule name.
     * 
     */
    @Import(name="firewallRuleName")
    private @Nullable Output firewallRuleName;

    /**
     * @return The rule name.
     * 
     */
    public Optional> firewallRuleName() {
        return Optional.ofNullable(this.firewallRuleName);
    }

    /**
     * The end range of IPv4.
     * 
     */
    @Import(name="rangeEnd")
    private @Nullable Output rangeEnd;

    /**
     * @return The end range of IPv4.
     * 
     */
    public Optional> rangeEnd() {
        return Optional.ofNullable(this.rangeEnd);
    }

    /**
     * The start range of IPv4.
     * 
     */
    @Import(name="rangeStart")
    private @Nullable Output rangeStart;

    /**
     * @return The start range of IPv4.
     * 
     */
    public Optional> rangeStart() {
        return Optional.ofNullable(this.rangeStart);
    }

    private IPv4FirewallRuleArgs() {}

    private IPv4FirewallRuleArgs(IPv4FirewallRuleArgs $) {
        this.firewallRuleName = $.firewallRuleName;
        this.rangeEnd = $.rangeEnd;
        this.rangeStart = $.rangeStart;
    }

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

    public static final class Builder {
        private IPv4FirewallRuleArgs $;

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

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

        /**
         * @param firewallRuleName The rule name.
         * 
         * @return builder
         * 
         */
        public Builder firewallRuleName(@Nullable Output firewallRuleName) {
            $.firewallRuleName = firewallRuleName;
            return this;
        }

        /**
         * @param firewallRuleName The rule name.
         * 
         * @return builder
         * 
         */
        public Builder firewallRuleName(String firewallRuleName) {
            return firewallRuleName(Output.of(firewallRuleName));
        }

        /**
         * @param rangeEnd The end range of IPv4.
         * 
         * @return builder
         * 
         */
        public Builder rangeEnd(@Nullable Output rangeEnd) {
            $.rangeEnd = rangeEnd;
            return this;
        }

        /**
         * @param rangeEnd The end range of IPv4.
         * 
         * @return builder
         * 
         */
        public Builder rangeEnd(String rangeEnd) {
            return rangeEnd(Output.of(rangeEnd));
        }

        /**
         * @param rangeStart The start range of IPv4.
         * 
         * @return builder
         * 
         */
        public Builder rangeStart(@Nullable Output rangeStart) {
            $.rangeStart = rangeStart;
            return this;
        }

        /**
         * @param rangeStart The start range of IPv4.
         * 
         * @return builder
         * 
         */
        public Builder rangeStart(String rangeStart) {
            return rangeStart(Output.of(rangeStart));
        }

        public IPv4FirewallRuleArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy