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

com.pulumi.azurenative.databoxedge.outputs.CniConfigResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class CniConfigResponse {
    /**
     * @return Pod Subnet
     * 
     */
    private String podSubnet;
    /**
     * @return Service subnet
     * 
     */
    private String serviceSubnet;
    /**
     * @return Cni type
     * 
     */
    private String type;
    /**
     * @return Cni version
     * 
     */
    private String version;

    private CniConfigResponse() {}
    /**
     * @return Pod Subnet
     * 
     */
    public String podSubnet() {
        return this.podSubnet;
    }
    /**
     * @return Service subnet
     * 
     */
    public String serviceSubnet() {
        return this.serviceSubnet;
    }
    /**
     * @return Cni type
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Cni version
     * 
     */
    public String version() {
        return this.version;
    }

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

    public static Builder builder(CniConfigResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String podSubnet;
        private String serviceSubnet;
        private String type;
        private String version;
        public Builder() {}
        public Builder(CniConfigResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.podSubnet = defaults.podSubnet;
    	      this.serviceSubnet = defaults.serviceSubnet;
    	      this.type = defaults.type;
    	      this.version = defaults.version;
        }

        @CustomType.Setter
        public Builder podSubnet(String podSubnet) {
            if (podSubnet == null) {
              throw new MissingRequiredPropertyException("CniConfigResponse", "podSubnet");
            }
            this.podSubnet = podSubnet;
            return this;
        }
        @CustomType.Setter
        public Builder serviceSubnet(String serviceSubnet) {
            if (serviceSubnet == null) {
              throw new MissingRequiredPropertyException("CniConfigResponse", "serviceSubnet");
            }
            this.serviceSubnet = serviceSubnet;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("CniConfigResponse", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder version(String version) {
            if (version == null) {
              throw new MissingRequiredPropertyException("CniConfigResponse", "version");
            }
            this.version = version;
            return this;
        }
        public CniConfigResponse build() {
            final var _resultValue = new CniConfigResponse();
            _resultValue.podSubnet = podSubnet;
            _resultValue.serviceSubnet = serviceSubnet;
            _resultValue.type = type;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy