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

com.pulumi.googlenative.baremetalsolution.v2.outputs.LogicalNetworkInterfaceResponse 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.googlenative.baremetalsolution.v2.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class LogicalNetworkInterfaceResponse {
    /**
     * @return Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.
     * 
     */
    private Boolean defaultGateway;
    /**
     * @return IP address in the network
     * 
     */
    private String ipAddress;
    /**
     * @return Name of the network
     * 
     */
    private String network;
    /**
     * @return Type of network.
     * 
     */
    private String networkType;

    private LogicalNetworkInterfaceResponse() {}
    /**
     * @return Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.
     * 
     */
    public Boolean defaultGateway() {
        return this.defaultGateway;
    }
    /**
     * @return IP address in the network
     * 
     */
    public String ipAddress() {
        return this.ipAddress;
    }
    /**
     * @return Name of the network
     * 
     */
    public String network() {
        return this.network;
    }
    /**
     * @return Type of network.
     * 
     */
    public String networkType() {
        return this.networkType;
    }

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

    public static Builder builder(LogicalNetworkInterfaceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean defaultGateway;
        private String ipAddress;
        private String network;
        private String networkType;
        public Builder() {}
        public Builder(LogicalNetworkInterfaceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.defaultGateway = defaults.defaultGateway;
    	      this.ipAddress = defaults.ipAddress;
    	      this.network = defaults.network;
    	      this.networkType = defaults.networkType;
        }

        @CustomType.Setter
        public Builder defaultGateway(Boolean defaultGateway) {
            this.defaultGateway = Objects.requireNonNull(defaultGateway);
            return this;
        }
        @CustomType.Setter
        public Builder ipAddress(String ipAddress) {
            this.ipAddress = Objects.requireNonNull(ipAddress);
            return this;
        }
        @CustomType.Setter
        public Builder network(String network) {
            this.network = Objects.requireNonNull(network);
            return this;
        }
        @CustomType.Setter
        public Builder networkType(String networkType) {
            this.networkType = Objects.requireNonNull(networkType);
            return this;
        }
        public LogicalNetworkInterfaceResponse build() {
            final var o = new LogicalNetworkInterfaceResponse();
            o.defaultGateway = defaultGateway;
            o.ipAddress = ipAddress;
            o.network = network;
            o.networkType = networkType;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy