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

com.pulumi.azurenative.network.outputs.InboundEndpointIPConfigurationResponse 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.network.outputs;

import com.pulumi.azurenative.network.outputs.SubResourceResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class InboundEndpointIPConfigurationResponse {
    /**
     * @return Private IP address of the IP configuration.
     * 
     */
    private @Nullable String privateIpAddress;
    /**
     * @return Private IP address allocation method.
     * 
     */
    private @Nullable String privateIpAllocationMethod;
    /**
     * @return The reference to the subnet bound to the IP configuration.
     * 
     */
    private SubResourceResponse subnet;

    private InboundEndpointIPConfigurationResponse() {}
    /**
     * @return Private IP address of the IP configuration.
     * 
     */
    public Optional privateIpAddress() {
        return Optional.ofNullable(this.privateIpAddress);
    }
    /**
     * @return Private IP address allocation method.
     * 
     */
    public Optional privateIpAllocationMethod() {
        return Optional.ofNullable(this.privateIpAllocationMethod);
    }
    /**
     * @return The reference to the subnet bound to the IP configuration.
     * 
     */
    public SubResourceResponse subnet() {
        return this.subnet;
    }

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

    public static Builder builder(InboundEndpointIPConfigurationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String privateIpAddress;
        private @Nullable String privateIpAllocationMethod;
        private SubResourceResponse subnet;
        public Builder() {}
        public Builder(InboundEndpointIPConfigurationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.privateIpAddress = defaults.privateIpAddress;
    	      this.privateIpAllocationMethod = defaults.privateIpAllocationMethod;
    	      this.subnet = defaults.subnet;
        }

        @CustomType.Setter
        public Builder privateIpAddress(@Nullable String privateIpAddress) {

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

            this.privateIpAllocationMethod = privateIpAllocationMethod;
            return this;
        }
        @CustomType.Setter
        public Builder subnet(SubResourceResponse subnet) {
            if (subnet == null) {
              throw new MissingRequiredPropertyException("InboundEndpointIPConfigurationResponse", "subnet");
            }
            this.subnet = subnet;
            return this;
        }
        public InboundEndpointIPConfigurationResponse build() {
            final var _resultValue = new InboundEndpointIPConfigurationResponse();
            _resultValue.privateIpAddress = privateIpAddress;
            _resultValue.privateIpAllocationMethod = privateIpAllocationMethod;
            _resultValue.subnet = subnet;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy