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

com.pulumi.azurenative.sql.outputs.GetIPv6FirewallRuleResult Maven / Gradle / Ivy

There is a newer version: 2.78.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.sql.outputs;

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

@CustomType
public final class GetIPv6FirewallRuleResult {
    /**
     * @return The end IP address of the firewall rule. Must be IPv6 format. Must be greater than or equal to startIpAddress.
     * 
     */
    private @Nullable String endIPv6Address;
    /**
     * @return Resource ID.
     * 
     */
    private String id;
    /**
     * @return Resource name.
     * 
     */
    private @Nullable String name;
    /**
     * @return The start IP address of the firewall rule. Must be IPv6 format.
     * 
     */
    private @Nullable String startIPv6Address;
    /**
     * @return Resource type.
     * 
     */
    private String type;

    private GetIPv6FirewallRuleResult() {}
    /**
     * @return The end IP address of the firewall rule. Must be IPv6 format. Must be greater than or equal to startIpAddress.
     * 
     */
    public Optional endIPv6Address() {
        return Optional.ofNullable(this.endIPv6Address);
    }
    /**
     * @return Resource ID.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Resource name.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return The start IP address of the firewall rule. Must be IPv6 format.
     * 
     */
    public Optional startIPv6Address() {
        return Optional.ofNullable(this.startIPv6Address);
    }
    /**
     * @return Resource type.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetIPv6FirewallRuleResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String endIPv6Address;
        private String id;
        private @Nullable String name;
        private @Nullable String startIPv6Address;
        private String type;
        public Builder() {}
        public Builder(GetIPv6FirewallRuleResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.endIPv6Address = defaults.endIPv6Address;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.startIPv6Address = defaults.startIPv6Address;
    	      this.type = defaults.type;
        }

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

            this.endIPv6Address = endIPv6Address;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetIPv6FirewallRuleResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

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

            this.startIPv6Address = startIPv6Address;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetIPv6FirewallRuleResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetIPv6FirewallRuleResult build() {
            final var _resultValue = new GetIPv6FirewallRuleResult();
            _resultValue.endIPv6Address = endIPv6Address;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.startIPv6Address = startIPv6Address;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy