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

com.pulumi.azurenative.network.inputs.IPConfigurationProfileArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.network.inputs;

import com.pulumi.azurenative.network.inputs.SubnetArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * IP configuration profile child resource.
 * 
 */
public final class IPConfigurationProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final IPConfigurationProfileArgs Empty = new IPConfigurationProfileArgs();

    /**
     * Resource ID.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Resource ID.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The name of the resource. This name can be used to access the resource.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the resource. This name can be used to access the resource.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The reference to the subnet resource to create a container network interface ip configuration.
     * 
     */
    @Import(name="subnet")
    private @Nullable Output subnet;

    /**
     * @return The reference to the subnet resource to create a container network interface ip configuration.
     * 
     */
    public Optional> subnet() {
        return Optional.ofNullable(this.subnet);
    }

    private IPConfigurationProfileArgs() {}

    private IPConfigurationProfileArgs(IPConfigurationProfileArgs $) {
        this.id = $.id;
        this.name = $.name;
        this.subnet = $.subnet;
    }

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

    public static final class Builder {
        private IPConfigurationProfileArgs $;

        public Builder() {
            $ = new IPConfigurationProfileArgs();
        }

        public Builder(IPConfigurationProfileArgs defaults) {
            $ = new IPConfigurationProfileArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name The name of the resource. This name can be used to access the resource.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the resource. This name can be used to access the resource.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param subnet The reference to the subnet resource to create a container network interface ip configuration.
         * 
         * @return builder
         * 
         */
        public Builder subnet(@Nullable Output subnet) {
            $.subnet = subnet;
            return this;
        }

        /**
         * @param subnet The reference to the subnet resource to create a container network interface ip configuration.
         * 
         * @return builder
         * 
         */
        public Builder subnet(SubnetArgs subnet) {
            return subnet(Output.of(subnet));
        }

        public IPConfigurationProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy