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

com.pulumi.azurenative.elasticsan.outputs.NetworkRuleSetResponse 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.elasticsan.outputs;

import com.pulumi.azurenative.elasticsan.outputs.VirtualNetworkRuleResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class NetworkRuleSetResponse {
    /**
     * @return The list of virtual network rules.
     * 
     */
    private @Nullable List virtualNetworkRules;

    private NetworkRuleSetResponse() {}
    /**
     * @return The list of virtual network rules.
     * 
     */
    public List virtualNetworkRules() {
        return this.virtualNetworkRules == null ? List.of() : this.virtualNetworkRules;
    }

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

    public static Builder builder(NetworkRuleSetResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List virtualNetworkRules;
        public Builder() {}
        public Builder(NetworkRuleSetResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.virtualNetworkRules = defaults.virtualNetworkRules;
        }

        @CustomType.Setter
        public Builder virtualNetworkRules(@Nullable List virtualNetworkRules) {

            this.virtualNetworkRules = virtualNetworkRules;
            return this;
        }
        public Builder virtualNetworkRules(VirtualNetworkRuleResponse... virtualNetworkRules) {
            return virtualNetworkRules(List.of(virtualNetworkRules));
        }
        public NetworkRuleSetResponse build() {
            final var _resultValue = new NetworkRuleSetResponse();
            _resultValue.virtualNetworkRules = virtualNetworkRules;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy