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

com.pulumi.azurenative.analysisservices.outputs.IPv4FirewallRuleResponse 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.outputs;

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

@CustomType
public final class IPv4FirewallRuleResponse {
    /**
     * @return The rule name.
     * 
     */
    private @Nullable String firewallRuleName;
    /**
     * @return The end range of IPv4.
     * 
     */
    private @Nullable String rangeEnd;
    /**
     * @return The start range of IPv4.
     * 
     */
    private @Nullable String rangeStart;

    private IPv4FirewallRuleResponse() {}
    /**
     * @return The rule name.
     * 
     */
    public Optional firewallRuleName() {
        return Optional.ofNullable(this.firewallRuleName);
    }
    /**
     * @return The end range of IPv4.
     * 
     */
    public Optional rangeEnd() {
        return Optional.ofNullable(this.rangeEnd);
    }
    /**
     * @return The start range of IPv4.
     * 
     */
    public Optional rangeStart() {
        return Optional.ofNullable(this.rangeStart);
    }

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

    public static Builder builder(IPv4FirewallRuleResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String firewallRuleName;
        private @Nullable String rangeEnd;
        private @Nullable String rangeStart;
        public Builder() {}
        public Builder(IPv4FirewallRuleResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.firewallRuleName = defaults.firewallRuleName;
    	      this.rangeEnd = defaults.rangeEnd;
    	      this.rangeStart = defaults.rangeStart;
        }

        @CustomType.Setter
        public Builder firewallRuleName(@Nullable String firewallRuleName) {

            this.firewallRuleName = firewallRuleName;
            return this;
        }
        @CustomType.Setter
        public Builder rangeEnd(@Nullable String rangeEnd) {

            this.rangeEnd = rangeEnd;
            return this;
        }
        @CustomType.Setter
        public Builder rangeStart(@Nullable String rangeStart) {

            this.rangeStart = rangeStart;
            return this;
        }
        public IPv4FirewallRuleResponse build() {
            final var _resultValue = new IPv4FirewallRuleResponse();
            _resultValue.firewallRuleName = firewallRuleName;
            _resultValue.rangeEnd = rangeEnd;
            _resultValue.rangeStart = rangeStart;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy