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

com.pulumi.azurenative.azurestackhci.outputs.IPConfigurationResponseProperties 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.azurestackhci.outputs;

import com.pulumi.azurenative.azurestackhci.outputs.IPConfigurationResponseSubnet;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class IPConfigurationResponseProperties {
    /**
     * @return prefixLength for network interface
     * 
     */
    private @Nullable String prefixLength;
    /**
     * @return PrivateIPAddress - Private IP address of the IP configuration.
     * 
     */
    private @Nullable String privateIPAddress;
    /**
     * @return PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
     * 
     */
    private @Nullable String privateIPAllocationMethod;
    /**
     * @return Subnet - Name of Subnet bound to the IP configuration.
     * 
     */
    private @Nullable IPConfigurationResponseSubnet subnet;

    private IPConfigurationResponseProperties() {}
    /**
     * @return prefixLength for network interface
     * 
     */
    public Optional prefixLength() {
        return Optional.ofNullable(this.prefixLength);
    }
    /**
     * @return PrivateIPAddress - Private IP address of the IP configuration.
     * 
     */
    public Optional privateIPAddress() {
        return Optional.ofNullable(this.privateIPAddress);
    }
    /**
     * @return PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
     * 
     */
    public Optional privateIPAllocationMethod() {
        return Optional.ofNullable(this.privateIPAllocationMethod);
    }
    /**
     * @return Subnet - Name of Subnet bound to the IP configuration.
     * 
     */
    public Optional subnet() {
        return Optional.ofNullable(this.subnet);
    }

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

    public static Builder builder(IPConfigurationResponseProperties defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String prefixLength;
        private @Nullable String privateIPAddress;
        private @Nullable String privateIPAllocationMethod;
        private @Nullable IPConfigurationResponseSubnet subnet;
        public Builder() {}
        public Builder(IPConfigurationResponseProperties defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.prefixLength = defaults.prefixLength;
    	      this.privateIPAddress = defaults.privateIPAddress;
    	      this.privateIPAllocationMethod = defaults.privateIPAllocationMethod;
    	      this.subnet = defaults.subnet;
        }

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

            this.prefixLength = prefixLength;
            return this;
        }
        @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(@Nullable IPConfigurationResponseSubnet subnet) {

            this.subnet = subnet;
            return this;
        }
        public IPConfigurationResponseProperties build() {
            final var _resultValue = new IPConfigurationResponseProperties();
            _resultValue.prefixLength = prefixLength;
            _resultValue.privateIPAddress = privateIPAddress;
            _resultValue.privateIPAllocationMethod = privateIPAllocationMethod;
            _resultValue.subnet = subnet;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy