public LifecycleHandler build() {
            final var _resultValue = new LifecycleHandler();
            _resultValue.exec = exec;
            _resultValue.httpGet = httpGet;
            _resultValue.sleep = sleep;
            _resultValue.tcpSocket = tcpSocket;
            return _resultValue;
        }
@return Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/LifecycleHandler.java