// *** 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.kubernetes.core.v1.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.kubernetes.core.v1.inputs.DaemonEndpointArgs;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * NodeDaemonEndpoints lists ports opened by daemons running on the Node.
 * 
 */
public final class NodeDaemonEndpointsArgs extends com.pulumi.resources.ResourceArgs {

    public static final NodeDaemonEndpointsArgs Empty = new NodeDaemonEndpointsArgs();

    /**
     * Endpoint on which Kubelet is listening.
     * 
     */
    @Import(name="kubeletEndpoint")
    private @Nullable Output<DaemonEndpointArgs> kubeletEndpoint;

    /**
     * @return Endpoint on which Kubelet is listening.
     * 
     */
    public Optional<Output<DaemonEndpointArgs>> kubeletEndpoint() {
        return Optional.ofNullable(this.kubeletEndpoint);
    }

    private NodeDaemonEndpointsArgs() {}

    private NodeDaemonEndpointsArgs(NodeDaemonEndpointsArgs $) {
        this.kubeletEndpoint = $.kubeletEndpoint;
    }

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

    public static final class Builder {
        private NodeDaemonEndpointsArgs $;

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

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

        /**
         * @param kubeletEndpoint Endpoint on which Kubelet is listening.
         * 
         * @return builder
         * 
         */
        public Builder kubeletEndpoint(@Nullable Output<DaemonEndpointArgs> kubeletEndpoint) {
            $.kubeletEndpoint = kubeletEndpoint;
            return this;
        }

        /**
         * @param kubeletEndpoint Endpoint on which Kubelet is listening.
         * 
         * @return builder
         * 
         */
        public Builder kubeletEndpoint(DaemonEndpointArgs kubeletEndpoint) {
            return kubeletEndpoint(Output.of(kubeletEndpoint));
        }

        public NodeDaemonEndpointsArgs build() {
            return $;
        }
    }

}
