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

com.pulumi.azurenative.managednetworkfabric.outputs.AggregateRouteConfigurationResponse Maven / Gradle / Ivy

// *** 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.managednetworkfabric.outputs;

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

@CustomType
public final class AggregateRouteConfigurationResponse {
    /**
     * @return List of IPv4 Route prefixes.
     * 
     */
    private @Nullable List ipv4Routes;
    /**
     * @return List of IPv6 Routes prefixes.
     * 
     */
    private @Nullable List ipv6Routes;

    private AggregateRouteConfigurationResponse() {}
    /**
     * @return List of IPv4 Route prefixes.
     * 
     */
    public List ipv4Routes() {
        return this.ipv4Routes == null ? List.of() : this.ipv4Routes;
    }
    /**
     * @return List of IPv6 Routes prefixes.
     * 
     */
    public List ipv6Routes() {
        return this.ipv6Routes == null ? List.of() : this.ipv6Routes;
    }

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

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

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

            this.ipv4Routes = ipv4Routes;
            return this;
        }
        public Builder ipv4Routes(AggregateRouteResponse... ipv4Routes) {
            return ipv4Routes(List.of(ipv4Routes));
        }
        @CustomType.Setter
        public Builder ipv6Routes(@Nullable List ipv6Routes) {

            this.ipv6Routes = ipv6Routes;
            return this;
        }
        public Builder ipv6Routes(AggregateRouteResponse... ipv6Routes) {
            return ipv6Routes(List.of(ipv6Routes));
        }
        public AggregateRouteConfigurationResponse build() {
            final var _resultValue = new AggregateRouteConfigurationResponse();
            _resultValue.ipv4Routes = ipv4Routes;
            _resultValue.ipv6Routes = ipv6Routes;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy