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

com.pulumi.azurenative.network.outputs.GatewayLoadBalancerTunnelInterfaceResponse Maven / Gradle / Ivy

The 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.network.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GatewayLoadBalancerTunnelInterfaceResponse {
    /**
     * @return Identifier of gateway load balancer tunnel interface.
     * 
     */
    private @Nullable Integer identifier;
    /**
     * @return Port of gateway load balancer tunnel interface.
     * 
     */
    private @Nullable Integer port;
    /**
     * @return Protocol of gateway load balancer tunnel interface.
     * 
     */
    private @Nullable String protocol;
    /**
     * @return Traffic type of gateway load balancer tunnel interface.
     * 
     */
    private @Nullable String type;

    private GatewayLoadBalancerTunnelInterfaceResponse() {}
    /**
     * @return Identifier of gateway load balancer tunnel interface.
     * 
     */
    public Optional identifier() {
        return Optional.ofNullable(this.identifier);
    }
    /**
     * @return Port of gateway load balancer tunnel interface.
     * 
     */
    public Optional port() {
        return Optional.ofNullable(this.port);
    }
    /**
     * @return Protocol of gateway load balancer tunnel interface.
     * 
     */
    public Optional protocol() {
        return Optional.ofNullable(this.protocol);
    }
    /**
     * @return Traffic type of gateway load balancer tunnel interface.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(GatewayLoadBalancerTunnelInterfaceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer identifier;
        private @Nullable Integer port;
        private @Nullable String protocol;
        private @Nullable String type;
        public Builder() {}
        public Builder(GatewayLoadBalancerTunnelInterfaceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.identifier = defaults.identifier;
    	      this.port = defaults.port;
    	      this.protocol = defaults.protocol;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder identifier(@Nullable Integer identifier) {

            this.identifier = identifier;
            return this;
        }
        @CustomType.Setter
        public Builder port(@Nullable Integer port) {

            this.port = port;
            return this;
        }
        @CustomType.Setter
        public Builder protocol(@Nullable String protocol) {

            this.protocol = protocol;
            return this;
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {

            this.type = type;
            return this;
        }
        public GatewayLoadBalancerTunnelInterfaceResponse build() {
            final var _resultValue = new GatewayLoadBalancerTunnelInterfaceResponse();
            _resultValue.identifier = identifier;
            _resultValue.port = port;
            _resultValue.protocol = protocol;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy