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

com.pulumi.azurenative.databoxedge.outputs.KubernetesRoleNetworkResponse 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.databoxedge.outputs;

import com.pulumi.azurenative.databoxedge.outputs.CniConfigResponse;
import com.pulumi.azurenative.databoxedge.outputs.LoadBalancerConfigResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;

@CustomType
public final class KubernetesRoleNetworkResponse {
    /**
     * @return Cni configuration
     * 
     */
    private CniConfigResponse cniConfig;
    /**
     * @return Load balancer configuration
     * 
     */
    private LoadBalancerConfigResponse loadBalancerConfig;

    private KubernetesRoleNetworkResponse() {}
    /**
     * @return Cni configuration
     * 
     */
    public CniConfigResponse cniConfig() {
        return this.cniConfig;
    }
    /**
     * @return Load balancer configuration
     * 
     */
    public LoadBalancerConfigResponse loadBalancerConfig() {
        return this.loadBalancerConfig;
    }

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

    public static Builder builder(KubernetesRoleNetworkResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private CniConfigResponse cniConfig;
        private LoadBalancerConfigResponse loadBalancerConfig;
        public Builder() {}
        public Builder(KubernetesRoleNetworkResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cniConfig = defaults.cniConfig;
    	      this.loadBalancerConfig = defaults.loadBalancerConfig;
        }

        @CustomType.Setter
        public Builder cniConfig(CniConfigResponse cniConfig) {
            if (cniConfig == null) {
              throw new MissingRequiredPropertyException("KubernetesRoleNetworkResponse", "cniConfig");
            }
            this.cniConfig = cniConfig;
            return this;
        }
        @CustomType.Setter
        public Builder loadBalancerConfig(LoadBalancerConfigResponse loadBalancerConfig) {
            if (loadBalancerConfig == null) {
              throw new MissingRequiredPropertyException("KubernetesRoleNetworkResponse", "loadBalancerConfig");
            }
            this.loadBalancerConfig = loadBalancerConfig;
            return this;
        }
        public KubernetesRoleNetworkResponse build() {
            final var _resultValue = new KubernetesRoleNetworkResponse();
            _resultValue.cniConfig = cniConfig;
            _resultValue.loadBalancerConfig = loadBalancerConfig;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy