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

com.pulumi.azurenative.hybridcontainerservice.inputs.ControlPlaneEndpointProfileControlPlaneEndpointArgs 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.hybridcontainerservice.inputs;

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;


/**
 * API server endpoint for the control plane
 * 
 */
public final class ControlPlaneEndpointProfileControlPlaneEndpointArgs extends com.pulumi.resources.ResourceArgs {

    public static final ControlPlaneEndpointProfileControlPlaneEndpointArgs Empty = new ControlPlaneEndpointProfileControlPlaneEndpointArgs();

    /**
     * Host IP address for API server
     * 
     */
    @Import(name="hostIP")
    private @Nullable Output hostIP;

    /**
     * @return Host IP address for API server
     * 
     */
    public Optional> hostIP() {
        return Optional.ofNullable(this.hostIP);
    }

    /**
     * Port for the API server
     * 
     */
    @Import(name="port")
    private @Nullable Output port;

    /**
     * @return Port for the API server
     * 
     */
    public Optional> port() {
        return Optional.ofNullable(this.port);
    }

    private ControlPlaneEndpointProfileControlPlaneEndpointArgs() {}

    private ControlPlaneEndpointProfileControlPlaneEndpointArgs(ControlPlaneEndpointProfileControlPlaneEndpointArgs $) {
        this.hostIP = $.hostIP;
        this.port = $.port;
    }

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

    public static final class Builder {
        private ControlPlaneEndpointProfileControlPlaneEndpointArgs $;

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

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

        /**
         * @param hostIP Host IP address for API server
         * 
         * @return builder
         * 
         */
        public Builder hostIP(@Nullable Output hostIP) {
            $.hostIP = hostIP;
            return this;
        }

        /**
         * @param hostIP Host IP address for API server
         * 
         * @return builder
         * 
         */
        public Builder hostIP(String hostIP) {
            return hostIP(Output.of(hostIP));
        }

        /**
         * @param port Port for the API server
         * 
         * @return builder
         * 
         */
        public Builder port(@Nullable Output port) {
            $.port = port;
            return this;
        }

        /**
         * @param port Port for the API server
         * 
         * @return builder
         * 
         */
        public Builder port(String port) {
            return port(Output.of(port));
        }

        public ControlPlaneEndpointProfileControlPlaneEndpointArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy